mikroSDK Reference Manual
tsc2003_cfg_t Struct Reference

TSC2003 Configuration Object. More...

Data Fields

pin_name_t int_pin
 
i2c_master_config_t i2c_cfg
 
uint16_t width
 
uint16_t height
 
uint8_t addr_sel
 
tsc2003_bits_m resolution
 
tsc2003_bits_pd power_down
 
tsc2003_pressure_threshold_t pressure_threshold_level
 

Detailed Description

Configuration object definition for TSC2003 touch controller.

Field Documentation

◆ int_pin

pin_name_t tsc2003_cfg_t::int_pin

Interrupt pin.

◆ i2c_cfg

i2c_master_config_t tsc2003_cfg_t::i2c_cfg

Configuration of communication module.

◆ width

uint16_t tsc2003_cfg_t::width

Touch panel width in pixels.

◆ height

uint16_t tsc2003_cfg_t::height

Touch panel height in pixels.

◆ addr_sel

uint8_t tsc2003_cfg_t::addr_sel

I2C slave address of TSC2003.

◆ resolution

tsc2003_bits_m tsc2003_cfg_t::resolution

AD conversion resolution.

◆ power_down

tsc2003_bits_pd tsc2003_cfg_t::power_down

Power down state between AD conversions.

◆ pressure_threshold_level

tsc2003_pressure_threshold_t tsc2003_cfg_t::pressure_threshold_level

Press intensity needed to register touch event.