cxpi 2.0.0.0
CXPI MikroBUS Map

MikroBUS pin mapping of CXPI Click driver. More...

Macros

#define CXPI_MAP_MIKROBUS(cfg, mikrobus)
 MikroBUS pin mapping.
 

Detailed Description

MikroBUS pin mapping of CXPI Click driver.

Macro Definition Documentation

◆ CXPI_MAP_MIKROBUS

#define CXPI_MAP_MIKROBUS ( cfg,
mikrobus )
Value:
cfg.tx_pin = MIKROBUS( mikrobus, MIKROBUS_TX ); \
cfg.rx_pin = MIKROBUS( mikrobus, MIKROBUS_RX ); \
cfg.en = MIKROBUS( mikrobus, MIKROBUS_CS ); \
cfg.pwm = MIKROBUS( mikrobus, MIKROBUS_PWM ); \
cfg.int_pin = MIKROBUS( mikrobus, MIKROBUS_INT )

MikroBUS pin mapping.

Mapping pins of CXPI Click to the selected MikroBUS.