hbridge3 2.0.0.0

Macros

#define HBRIDGE3_MAP_MIKROBUS(cfg, mikrobus)
 

Detailed Description

Macro Definition Documentation

◆ HBRIDGE3_MAP_MIKROBUS

#define HBRIDGE3_MAP_MIKROBUS ( cfg,
mikrobus )
Value:
cfg.pwm = MIKROBUS( mikrobus, MIKROBUS_PWM ); \
cfg.dir = MIKROBUS( mikrobus, MIKROBUS_AN ); \
cfg.dis = MIKROBUS( mikrobus, MIKROBUS_RST ); \
cfg.cs = MIKROBUS( mikrobus, MIKROBUS_CS ); \
cfg.sdo = MIKROBUS( mikrobus, MIKROBUS_MISO ); \
cfg.sdi = MIKROBUS( mikrobus, MIKROBUS_MOSI ); \
cfg.sck = MIKROBUS( mikrobus, MIKROBUS_SCK )