Data structures for the CAPSENSE™ Touchpad I2C Host middleware.
Data Structures | |
| struct | mtb_touchpad_intf_context_t |
| Structure for touchpad interface context. More... | |
| struct | mtb_touchpad_fw_ver_t |
| Structure for touchpad firmware version information. More... | |
| struct | mtb_touchpad_coordinates |
| Structure representing touch coordinates. More... | |
| struct | mtb_touchpad_pos_t |
| Structure representing touchpad position data. More... | |
| struct mtb_touchpad_intf_context_t |
| Data Fields | ||
|---|---|---|
| mtb_touchpad_read_handle_t | bus_read |
Function pointer for read operation. Function pointer to platform-specific read operation. |
| mtb_touchpad_write_handle_t | bus_write |
Function pointer for write operation. Function pointer to platform-specific write operation. |
| void * | intf_ptr |
Interface-specific context pointer. Pointer to interface-specific descriptor (e.g., slave address, bus handle). |
| uint8_t | num_sensors |
Number of sensors. Number of sensors configured in the CapSense configurator. |
| struct mtb_touchpad_fw_ver_t |
| struct mtb_touchpad_coordinates |
| struct mtb_touchpad_pos_t |
| Data Fields | ||
|---|---|---|
| mtb_touchpad_coordinates | tch0 |
First touch coordinates. Coordinates of the first touch point. |
| mtb_touchpad_coordinates | tch1 |
Second touch coordinates. Coordinates of the second touch point. |
| uint8_t | num_touch |
Number of touches detected. Number of touches currently detected. |