accel5
2.0.0.0
Macros
MikroBUS
Accel 5 Click Driver
»
Macros
Macros
#define
ACCEL5_MAP_MIKROBUS
(cfg, mikrobus)
Detailed Description
Macro Definition Documentation
◆
ACCEL5_MAP_MIKROBUS
#define ACCEL5_MAP_MIKROBUS
(
cfg,
mikrobus
)
Value:
cfg.scl = MIKROBUS( mikrobus, MIKROBUS_SCL ); \
cfg.sda = MIKROBUS( mikrobus, MIKROBUS_SDA ); \
cfg.it2 = MIKROBUS( mikrobus, MIKROBUS_PWM ); \
cfg.it1 = MIKROBUS( mikrobus, MIKROBUS_INT );