mikroSDK Reference Manual
tp_mikroe_cfg_t Struct Reference

TP_MIKROE Configuration Object. More...

Data Fields

pin_name_t left
 
pin_name_t right
 
pin_name_t up
 
pin_name_t down
 
analog_in_config_t analog_in_cfg_read_x
 
analog_in_config_t analog_in_cfg_read_y
 
tp_mikroe_pressure_threshold_t pressure_threshold_level
 
uint16_t width
 
uint16_t height
 

Detailed Description

Configuration object definition for TP_MIKROE touch controller.

Field Documentation

◆ left

pin_name_t tp_mikroe_cfg_t::left

Touch panel XL Pin.

◆ right

pin_name_t tp_mikroe_cfg_t::right

Touch panel XR Pin.

◆ up

pin_name_t tp_mikroe_cfg_t::up

Touch panel YU Pin.

◆ down

pin_name_t tp_mikroe_cfg_t::down

Touch panel YD Pin.

◆ analog_in_cfg_read_x

analog_in_config_t tp_mikroe_cfg_t::analog_in_cfg_read_x

ADC configuration structure for X axis.

◆ analog_in_cfg_read_y

analog_in_config_t tp_mikroe_cfg_t::analog_in_cfg_read_y

ADC configuration structure for Y axis.

◆ pressure_threshold_level

tp_mikroe_pressure_threshold_t tp_mikroe_cfg_t::pressure_threshold_level

Press intensity needed to register touch event.

◆ width

uint16_t tp_mikroe_cfg_t::width

Display width.

◆ height

uint16_t tp_mikroe_cfg_t::height

Display height.