mikroSDK Reference Manual

Macros

#define STMPE811_MAP_PINS(cfg)
 This macro defines I2C pins used by the STMPE811 touch controller. More...
 

Detailed Description

Utility macro for mapping STMPE811 touch controllers.

Macro Definition Documentation

◆ STMPE811_MAP_PINS

#define STMPE811_MAP_PINS (   cfg)
Value:
cfg.i2c_cfg.scl = CTP_SCL; \
cfg.i2c_cfg.sda = CTP_SDA; \
cfg.int_pin = CTP_INT