stspin820 2.1.0.0
STSPIN820 MikroBUS Map

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

Macros

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

Detailed Description

MikroBUS pin mapping of STSPIN820 Click driver.

Macro Definition Documentation

◆ STSPIN820_MAP_MIKROBUS

#define STSPIN820_MAP_MIKROBUS ( cfg,
mikrobus )
Value:
cfg.dir = MIKROBUS( mikrobus, MIKROBUS_AN ); \
cfg.rst = MIKROBUS( mikrobus, MIKROBUS_RST ); \
cfg.en = MIKROBUS( mikrobus, MIKROBUS_CS ); \
cfg.step = MIKROBUS( mikrobus, MIKROBUS_PWM ); \
cfg.fault = MIKROBUS( mikrobus, MIKROBUS_INT )

MikroBUS pin mapping.

Mapping pins of STSPIN820 Click to the selected MikroBUS.