barcode2
2.0.0.0
Macros
MikroBUS
Barcode 2 Click Driver
»
Macros
Macros
#define
BARCODE2_MAP_MIKROBUS
(cfg, mikrobus)
Detailed Description
Macro Definition Documentation
◆
BARCODE2_MAP_MIKROBUS
#define BARCODE2_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.trg = MIKROBUS( mikrobus, MIKROBUS_PWM )