c3xbuck
2.0.0.0
Macros
MikroBUS
3xBuck Click Driver
»
Macros
Macros
#define
C3XBUCK_MAP_MIKROBUS
(cfg, mikrobus)
Detailed Description
Macro Definition Documentation
◆
C3XBUCK_MAP_MIKROBUS
#define C3XBUCK_MAP_MIKROBUS
(
cfg,
mikrobus
)
Value:
cfg.scl = MIKROBUS( mikrobus, MIKROBUS_SCL ); \
cfg.sda = MIKROBUS( mikrobus, MIKROBUS_SDA ); \
cfg.en1 = MIKROBUS( mikrobus, MIKROBUS_AN ); \
cfg.en2 = MIKROBUS( mikrobus, MIKROBUS_PWM ); \
cfg.en3 = MIKROBUS( mikrobus, MIKROBUS_INT );