rotaryb2 2.1.0.0
Rotary B 2 MikroBUS Map

MikroBUS pin mapping of Rotary B 2 Click driver. More...

Macros

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

Detailed Description

MikroBUS pin mapping of Rotary B 2 Click driver.

Macro Definition Documentation

◆ ROTARYB2_MAP_MIKROBUS

#define ROTARYB2_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.enb = MIKROBUS( mikrobus, MIKROBUS_AN ); \
cfg.ena = MIKROBUS( mikrobus, MIKROBUS_PWM ); \
cfg.sw = MIKROBUS( mikrobus, MIKROBUS_INT )

MikroBUS pin mapping.

Mapping pins of Rotary B 2 Click to the selected MikroBUS.