Skip to content

Commit 58c2fee

Browse files
committed
feat(touch): add i2c cst820
1 parent 0de33cb commit 58c2fee

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

src/drivers/touch/port/esp_lcd_touch_cst820.c

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
* SPDX-License-Identifier: Apache-2.0
55
*/
66

7+
/*
8+
* @file esp_lcd_touch_cst820.c
9+
* @brief ESP LCD touch: CST820
10+
* @author Viewe@VIEWESMART
11+
*/
12+
713
#include "../esp_panel_touch_conf_internal.h"
814
#if ESP_PANEL_DRIVERS_TOUCH_ENABLE_CST820
915

@@ -26,8 +32,6 @@
2632

2733
#define POINT_NUM_MAX (1)
2834

29-
// #define DATA_START_REG (0x02)
30-
// #define DATA_START_REG (0x20)
3135
#define DATA_START_REG (0x00)
3236
#define CHIP_ID_REG (0xA7)
3337

src/drivers/touch/port/esp_lcd_touch_cst820.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
*/
66

77
/**
8-
* @file
9-
* @brief ESP LCD touch: CST816S
8+
* @file esp_lcd_touch_cst820.h
9+
* @brief ESP LCD touch: CST820
10+
* @author Viewe@VIEWESMART
1011
*/
1112

1213
#pragma once

0 commit comments

Comments
 (0)