apc1sensor 2.1.0.0
APC1 Sensor MikroBUS Map

MikroBUS pin mapping of APC1 Sensor Demo driver. More...

Macros

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

Detailed Description

MikroBUS pin mapping of APC1 Sensor Demo driver.

Macro Definition Documentation

◆ APC1SENSOR_MAP_MIKROBUS

#define APC1SENSOR_MAP_MIKROBUS ( cfg,
mikrobus )
Value:
cfg.tx_pin = MIKROBUS( mikrobus, MIKROBUS_TX ); \
cfg.rx_pin = MIKROBUS( mikrobus, MIKROBUS_RX ); \
cfg.scl = MIKROBUS( mikrobus, MIKROBUS_SCL ); \
cfg.sda = MIKROBUS( mikrobus, MIKROBUS_SDA ); \
cfg.set = MIKROBUS( mikrobus, MIKROBUS_CS ); \
cfg.rst = MIKROBUS( mikrobus, MIKROBUS_RST );

MikroBUS pin mapping.

Mapping pins of APC1 Sensor Demo to the selected MikroBUS.