magneto
2.0.0.0
Macros
MikroBUS
MAGNETO Click Driver
»
Macros
Macros
#define
MAGNETO_MAP_MIKROBUS
(cfg, mikrobus)
Detailed Description
Macro Definition Documentation
◆
MAGNETO_MAP_MIKROBUS
#define MAGNETO_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.out = MIKROBUS( mikrobus, MIKROBUS_INT )