Overview Fixed

HAL TypeInput
ChipCST816S
InterfaceI2C
DescriptionCapacitive touch with gesture support. Fixed cold-boot probe, auto-sleep disable, and gesture register reads.

Implementation

Sourcecomponents/kernel_rs/src/drv_touch_cst816.rs (797 lines)
WrapsNone — manual I2C register reads
Tests14 unit tests

Devices

Boards that use this driver:

DeviceStatus
T-Display-S3Fixed
CYD S022Fixed

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.