mikroSDK Reference Manual
stmpe811_cfg_t Struct Reference

STMPE811 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
 
uint8_t press_threshold
 

Detailed Description

Configuration object definition for STMPE811 touch controller.

Field Documentation

◆ int_pin

pin_name_t stmpe811_cfg_t::int_pin

Interrupt pin.

◆ i2c_cfg

i2c_master_config_t stmpe811_cfg_t::i2c_cfg

Configuration of communication module.

◆ width

uint16_t stmpe811_cfg_t::width

Touch panel width in pixels.

◆ height

uint16_t stmpe811_cfg_t::height

Touch panel height in pixels.

◆ addr_sel

uint8_t stmpe811_cfg_t::addr_sel

I2C slave address of STMPE811.

◆ press_threshold

uint8_t stmpe811_cfg_t::press_threshold

Press intensity needed to register touch event.