stepper8 2.1.0.0
Stepper 8 MikroBUS Map

MikroBUS pin mapping of Stepper 8 Click driver. More...

Macros

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

Detailed Description

MikroBUS pin mapping of Stepper 8 Click driver.

Macro Definition Documentation

◆ STEPPER8_MAP_MIKROBUS

#define STEPPER8_MAP_MIKROBUS ( cfg,
mikrobus )
Value:
cfg.scl = MIKROBUS( mikrobus, MIKROBUS_SCL ); \
cfg.sda = MIKROBUS( mikrobus, MIKROBUS_SDA ); \
cfg.miso = MIKROBUS( mikrobus, MIKROBUS_MISO ); \
cfg.mosi = MIKROBUS( mikrobus, MIKROBUS_MOSI ); \
cfg.sck = MIKROBUS( mikrobus, MIKROBUS_SCK ); \
cfg.md1 = MIKROBUS( mikrobus, MIKROBUS_CS ); \
cfg.md3 = MIKROBUS( mikrobus, MIKROBUS_AN ); \
cfg.md0 = MIKROBUS( mikrobus, MIKROBUS_RST ); \
cfg.md2 = MIKROBUS( mikrobus, MIKROBUS_PWM ); \
cfg.err = MIKROBUS( mikrobus, MIKROBUS_INT )

MikroBUS pin mapping.

Mapping pins of Stepper 8 Click to the selected MikroBUS.