![]() |
mikroSDK Reference Manual
|
STMPE811 Context Object. More...
Data Fields | |
| i2c_master_t | i2c |
| digital_in_t | int_pin |
| tp_event_t | press_det |
| tp_touch_item_t | touch |
| tp_event_t | gesture |
| bool | pen_down |
| uint16_t | width |
| uint16_t | height |
| uint8_t | press_threshold |
| stmpe811_calibration_data_t | calibration_data |
Context object definition for STMPE811 touch controller. This structure holds information about the current state of the controller.
| i2c_master_t stmpe811_t::i2c |
Communication module object.
| digital_in_t stmpe811_t::int_pin |
Interrupt pin object.
| tp_event_t stmpe811_t::press_det |
Touch pressure event.
| tp_touch_item_t stmpe811_t::touch |
Touch item.
| tp_event_t stmpe811_t::gesture |
Gesture event.
| bool stmpe811_t::pen_down |
Utility helper variable used for interpreting events.
| uint16_t stmpe811_t::width |
Touch panel width in pixels.
| uint16_t stmpe811_t::height |
Touch panel height in pixels.
| uint8_t stmpe811_t::press_threshold |
Press intensity needed to register touch event.
| stmpe811_calibration_data_t stmpe811_t::calibration_data |
Calibration constants used for converting raw ADC touch data to actual pixel coordinates.