dcmotor
2.0.0.0
Macros
MikroBUS
DC MOTOR Click Driver
»
Macros
Macros
#define
DCMOTOR_MAP_MIKROBUS
(cfg, mikrobus)
Detailed Description
Macro Definition Documentation
◆
DCMOTOR_MAP_MIKROBUS
#define DCMOTOR_MAP_MIKROBUS
(
cfg,
mikrobus
)
Value:
cfg.pwm = MIKROBUS( mikrobus, MIKROBUS_PWM ); \
cfg. slp = MIKROBUS( mikrobus, MIKROBUS_AN ); \
cfg. sl1 = MIKROBUS( mikrobus, MIKROBUS_RST ); \
cfg. sl2 = MIKROBUS( mikrobus, MIKROBUS_CS ); \
cfg. flt = MIKROBUS( mikrobus, MIKROBUS_INT )