drv_touch_cst328
I2C capacitive touch driver for the Hynitron CST328. Reads touch coordinates from registers and reports through the HAL input callback.
Overview Proven
| HAL Type | Input |
| Chip | CST328 |
| Interface | I2C |
| Description | Capacitive touch controller. Multi-touch capable but ThistleOS currently uses single-touch only. |
Implementation
| Source | components/kernel_rs/src/drv_touch_cst328.rs (797 lines) |
| Wraps | None — manual I2C register reads |
| Tests | 10 unit tests |
Devices
Boards that use this driver:
| Device | Status |
|---|---|
| T-Deck | Proven |
| T-Deck Plus | Proven |
Configuration
Configured via board.json: I2C address (0x1A), pin_sda, pin_scl, optional pin_int for interrupt.
Known Issues
No known issues.