stepper 2.1.0.0
Stepper MikroBUS Map

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

Macros

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

Detailed Description

MikroBUS pin mapping of Stepper Click driver.

Macro Definition Documentation

◆ STEPPER_MAP_MIKROBUS

#define STEPPER_MAP_MIKROBUS ( cfg,
mikrobus )
Value:
cfg.ms1 = MIKROBUS( mikrobus, MIKROBUS_AN ); \
cfg.ms2 = MIKROBUS( mikrobus, MIKROBUS_RST ); \
cfg.dir = MIKROBUS( mikrobus, MIKROBUS_CS ); \
cfg.step = MIKROBUS( mikrobus, MIKROBUS_PWM ); \
cfg.en = MIKROBUS( mikrobus, MIKROBUS_INT )

MikroBUS pin mapping.

Mapping pins of Stepper Click to the selected MikroBUS.