usbcsink 2.0.0.0
USB-C Sink MikroBUS Map

MikroBUS pin mapping of USB-C Sink Click driver. More...

Macros

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

Detailed Description

MikroBUS pin mapping of USB-C Sink Click driver.

Macro Definition Documentation

◆ USBCSINK_MAP_MIKROBUS

#define USBCSINK_MAP_MIKROBUS ( cfg,
mikrobus )
Value:
cfg.scl = MIKROBUS( mikrobus, MIKROBUS_SCL ); \
cfg.sda = MIKROBUS( mikrobus, MIKROBUS_SDA ); \
cfg.po3 = MIKROBUS( mikrobus, MIKROBUS_CS ); \
cfg.po2 = MIKROBUS( mikrobus, MIKROBUS_AN ); \
cfg.rst = MIKROBUS( mikrobus, MIKROBUS_RST ); \
cfg.int_pin = MIKROBUS( mikrobus, MIKROBUS_INT )

MikroBUS pin mapping.

Mapping pins of USB-C Sink Click to the selected MikroBUS.