nplc 2.1.0.0
N-PLC MikroBUS Map

MikroBUS pin mapping of N-PLC Click driver. More...

Macros

#define NPLC_MAP_MIKROBUS(cfg, mikrobus)
 MikroBUS pin mapping.
 

Detailed Description

MikroBUS pin mapping of N-PLC Click driver.

Macro Definition Documentation

◆ NPLC_MAP_MIKROBUS

#define NPLC_MAP_MIKROBUS ( cfg,
mikrobus )
Value:
cfg.tx_pin = MIKROBUS( mikrobus, MIKROBUS_TX ); \
cfg.rx_pin = MIKROBUS( mikrobus, MIKROBUS_RX ); \
cfg.cts = MIKROBUS( mikrobus, MIKROBUS_AN ); \
cfg.rst = MIKROBUS( mikrobus, MIKROBUS_RST ); \
cfg.md1 = MIKROBUS( mikrobus, MIKROBUS_PWM ); \
cfg.rts = MIKROBUS( mikrobus, MIKROBUS_INT );

MikroBUS pin mapping.

Mapping pins of N-PLC Click to the selected MikroBUS.