mikroSDK Reference Manual
|
TSC2003 Context Object. More...
Context object definition for TSC2003 touch controller. This structure holds information about the current state of the controller.
digital_in_t tsc2003_t::int_pin |
Interrupt pin object.
i2c_master_t tsc2003_t::i2c |
Communication module object.
uint16_t tsc2003_t::width |
Touch panel width in pixels.
uint16_t tsc2003_t::height |
Touch panel height in pixels.
tp_event_t tsc2003_t::press_det |
Touch pressure event.
tp_touch_item_t tsc2003_t::touch |
Touch item.
tp_event_t tsc2003_t::gesture |
Gesture event.
bool tsc2003_t::pen_down |
Utility helper variable used for interpreting events.
tsc2003_bits_m tsc2003_t::resolution |
AD conversion resolution.
tsc2003_bits_pd tsc2003_t::power_down |
Power down state between AD conversions.
tsc2003_pressure_threshold_t tsc2003_t::pressure_threshold_level |
Press intensity needed to register touch event.
tsc2003_calibration_data_t tsc2003_t::calibration_data |
Calibration constants used for converting raw ADC touch data to actual pixel coordinates.