shake2wake
2.0.0.0
Macros
MikroBUS
Shake2Wake Click Driver
»
Macros
Macros
#define
SHAKE2WAKE_MAP_MIKROBUS
(cfg, mikrobus)
Detailed Description
Macro Definition Documentation
◆
SHAKE2WAKE_MAP_MIKROBUS
#define SHAKE2WAKE_MAP_MIKROBUS
(
cfg,
mikrobus
)
Value:
cfg.miso = MIKROBUS( mikrobus, MIKROBUS_MISO ); \
cfg.mosi = MIKROBUS( mikrobus, MIKROBUS_MOSI ); \
cfg.sck = MIKROBUS( mikrobus, MIKROBUS_SCK ); \
cfg.cs = MIKROBUS( mikrobus, MIKROBUS_CS ); \
cfg.int_pin = MIKROBUS( mikrobus, MIKROBUS_INT );