compass
2.0.0.0
Macros
MikroBUS
Compass Click Driver
»
Control Registers
»
Magnetic Field Sensing Registers
»
Linear acceleration registers
Macros
#define
COMPASS_MAP_MIKROBUS
(cfg, mikrobus)
Detailed Description
Macro Definition Documentation
◆
COMPASS_MAP_MIKROBUS
#define COMPASS_MAP_MIKROBUS
(
cfg,
mikrobus
)
Value:
cfg.scl = MIKROBUS( mikrobus, MIKROBUS_SCL ); \
cfg.sda = MIKROBUS( mikrobus, MIKROBUS_SDA ); \
cfg.rdy = MIKROBUS( mikrobus, MIKROBUS_RST ); \
cfg.int_pin = MIKROBUS( mikrobus, MIKROBUS_INT )