mikroSDK Reference Manual

Macro for mapping TSC2003 touch controller I2C pins. More...

Macros

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

Detailed Description

Macro Definition Documentation

◆ TSC2003_MAP_PINS

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