dcmotor2
2.0.0.0
Macros
MikroBUS
DC Motor 2 Click Driver
»
Macros
Macros
#define
DCMOTOR2_MAP_MIKROBUS
(cfg, mikrobus)
Detailed Description
Macro Definition Documentation
◆
DCMOTOR2_MAP_MIKROBUS
#define DCMOTOR2_MAP_MIKROBUS
(
cfg,
mikrobus
)
Value:
cfg.pwm = MIKROBUS( mikrobus, MIKROBUS_PWM ); \
cfg.in2 = MIKROBUS( mikrobus, MIKROBUS_RST ); \
cfg.in1 = MIKROBUS( mikrobus, MIKROBUS_CS ); \
cfg.slp = MIKROBUS( mikrobus, MIKROBUS_INT )