smartdof
2.0.0.0
Macros
MikroBUS
Smart DOF Click Driver
»
Macros
Macros
#define
SMARTDOF_MAP_MIKROBUS
(cfg, mikrobus)
Detailed Description
Macro Definition Documentation
◆
SMARTDOF_MAP_MIKROBUS
#define SMARTDOF_MAP_MIKROBUS
(
cfg,
mikrobus
)
Value:
cfg.scl = MIKROBUS( mikrobus, MIKROBUS_SCL ); \
cfg.sda = MIKROBUS( mikrobus, MIKROBUS_SDA ); \
cfg.rst = MIKROBUS( mikrobus, MIKROBUS_RST ); \
cfg.bt = MIKROBUS( mikrobus, MIKROBUS_PWM ); \
cfg.int_pin = MIKROBUS( mikrobus, MIKROBUS_INT )