solidswitch2 2.1.0.0
SolidSwitch 2 MikroBUS Map

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

Macros

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

Detailed Description

MikroBUS pin mapping of SolidSwitch 2 Click driver.

Macro Definition Documentation

◆ SOLIDSWITCH2_MAP_MIKROBUS

#define SOLIDSWITCH2_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.idle = MIKROBUS( mikrobus, MIKROBUS_AN ); \
cfg.in0 = MIKROBUS( mikrobus, MIKROBUS_PWM ); \
cfg.in1 = MIKROBUS( mikrobus, MIKROBUS_INT )

MikroBUS pin mapping.

Mapping pins of SolidSwitch 2 Click to the selected MikroBUS.