dcmotor22 2.0.0.0
DC Motor 22 MikroBUS Map

MikroBUS pin mapping of DC Motor 22 Click driver. More...

Macros

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

Detailed Description

MikroBUS pin mapping of DC Motor 22 Click driver.

Macro Definition Documentation

◆ DCMOTOR22_MAP_MIKROBUS

#define DCMOTOR22_MAP_MIKROBUS ( cfg,
mikrobus )
Value:
cfg.scl = MIKROBUS( mikrobus, MIKROBUS_SCL ); \
cfg.sda = MIKROBUS( mikrobus, MIKROBUS_SDA ); \
cfg.tx_pin = MIKROBUS( mikrobus, MIKROBUS_TX ); \
cfg.rx_pin = MIKROBUS( mikrobus, MIKROBUS_RX ); \
cfg.a0 = MIKROBUS( mikrobus, MIKROBUS_AN ); \
cfg.a1 = MIKROBUS( mikrobus, MIKROBUS_CS ); \
cfg.en = MIKROBUS( mikrobus, MIKROBUS_PWM ); \
cfg.int_pin = MIKROBUS( mikrobus, MIKROBUS_INT );

MikroBUS pin mapping.

Mapping pins of DC Motor 22 Click to the selected MikroBUS.