drv_touch_cst816
I2C capacitive touch driver for the Hynitron CST816S. Required several fixes during hardware bringup.
Overview Fixed
| HAL Type | Input |
| Chip | CST816S |
| Interface | I2C |
| Description | Capacitive touch with gesture support. Fixed cold-boot probe, auto-sleep disable, and gesture register reads. |
Implementation
| Source | components/kernel_rs/src/drv_touch_cst816.rs (797 lines) |
| Wraps | None — manual I2C register reads |
| Tests | 14 unit tests |
Devices
Boards that use this driver:
| Device | Status |
|---|---|
| T-Display-S3 | Fixed |
| CYD S022 | Fixed |
Configuration
Configured via board.json: I2C address, pin_sda, pin_scl, pin_rst, pin_int.
Known Issues
Fixed: cold-boot probe at register 0xA7, auto-sleep disable via register 0xFE, gesture read from register 0x01.