hbridge 2.1.0.0
H-Bridge MikroBUS Map

MikroBUS pin mapping of H-Bridge Click driver. More...

Macros

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

Detailed Description

MikroBUS pin mapping of H-Bridge Click driver.

Macro Definition Documentation

◆ HBRIDGE_MAP_MIKROBUS

#define HBRIDGE_MAP_MIKROBUS ( cfg,
mikrobus )
Value:
cfg.in2a = MIKROBUS( mikrobus, MIKROBUS_AN ); \
cfg.in2b = MIKROBUS( mikrobus, MIKROBUS_RST ); \
cfg.in1b = MIKROBUS( mikrobus, MIKROBUS_CS ); \
cfg.in1a = MIKROBUS( mikrobus, MIKROBUS_PWM );

MikroBUS pin mapping.

Mapping pins of H-Bridge Click to the selected MikroBUS.