spirit2 2.0.0.0
MikroBUS

Macros

#define SPIRIT2_MAP_MIKROBUS(cfg, mikrobus)
 

Detailed Description

Macro Definition Documentation

◆ SPIRIT2_MAP_MIKROBUS

#define SPIRIT2_MAP_MIKROBUS ( cfg,
mikrobus )
Value:
cfg.tx_pin = MIKROBUS( mikrobus, MIKROBUS_TX ); \
cfg.rx_pin = MIKROBUS( mikrobus, MIKROBUS_RX ); \
cfg.rst = MIKROBUS( mikrobus, MIKROBUS_RST ); \
cfg.cmd = MIKROBUS( mikrobus, MIKROBUS_CS ); \
cfg.shd = MIKROBUS( mikrobus, MIKROBUS_PWM )