tiltnshake
2.0.0.0
Macros
MikroBUS
TILT-n-SHAKE Click Driver
»
Macros
Macros
#define
TILTNSHAKE_MAP_MIKROBUS
(cfg, mikrobus)
Detailed Description
Macro Definition Documentation
◆
TILTNSHAKE_MAP_MIKROBUS
#define TILTNSHAKE_MAP_MIKROBUS
(
cfg,
mikrobus
)
Value:
cfg.scl = MIKROBUS( mikrobus, MIKROBUS_SCL ); \
cfg.sda = MIKROBUS( mikrobus, MIKROBUS_SDA ); \
cfg.en = MIKROBUS( mikrobus, MIKROBUS_CS ); \
cfg.int_pin = MIKROBUS( mikrobus, MIKROBUS_INT );