tdc2 2.1.0.0
TDC 2 MikroBUS Map

MikroBUS pin mapping of TDC 2 Click driver. More...

Macros

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

Detailed Description

MikroBUS pin mapping of TDC 2 Click driver.

Macro Definition Documentation

◆ TDC2_MAP_MIKROBUS

#define TDC2_MAP_MIKROBUS ( cfg,
mikrobus )
Value:
cfg.miso = MIKROBUS( mikrobus, MIKROBUS_MISO ); \
cfg.mosi = MIKROBUS( mikrobus, MIKROBUS_MOSI ); \
cfg.sck = MIKROBUS( mikrobus, MIKROBUS_SCK ); \
cfg.cs = MIKROBUS( mikrobus, MIKROBUS_CS ); \
cfg.rir = MIKROBUS( mikrobus, MIKROBUS_AN ); \
cfg.rst = MIKROBUS( mikrobus, MIKROBUS_RST ); \
cfg.dis = MIKROBUS( mikrobus, MIKROBUS_PWM ); \
cfg.int_pin = MIKROBUS( mikrobus, MIKROBUS_INT )

MikroBUS pin mapping.

Mapping pins of TDC 2 Click to the selected MikroBUS.