lsm6dsl
2.0.0.0
Macros
MikroBUS
LSM6DSL Click Driver
»
Macros
Macros
#define
LSM6DSL_MAP_MIKROBUS
(cfg, mikrobus)
Detailed Description
Macro Definition Documentation
◆
LSM6DSL_MAP_MIKROBUS
#define LSM6DSL_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 )