smartmic 2.0.0.0
Smart Mic MikroBUS Map

MikroBUS pin mapping of Smart Mic Click driver. More...

Macros

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

Detailed Description

MikroBUS pin mapping of Smart Mic Click driver.

Macro Definition Documentation

◆ SMARTMIC_MAP_MIKROBUS

#define SMARTMIC_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.miso = MIKROBUS( mikrobus, MIKROBUS_MISO ); \
cfg.mosi = MIKROBUS( mikrobus, MIKROBUS_MOSI ); \
cfg.sck = MIKROBUS( mikrobus, MIKROBUS_SCK ); \
cfg.cs = MIKROBUS( mikrobus, MIKROBUS_CS ); \
cfg.en = MIKROBUS( mikrobus, MIKROBUS_RST ); \
cfg.int_pin = MIKROBUS( mikrobus, MIKROBUS_INT )

MikroBUS pin mapping.

Mapping pins of Smart Mic Click to the selected MikroBUS.