airmotion 2.1.0.0
Air Motion MikroBUS Map

MikroBUS pin mapping of Air Motion Click driver. More...

Macros

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

Detailed Description

MikroBUS pin mapping of Air Motion Click driver.

Macro Definition Documentation

◆ AIRMOTION_MAP_MIKROBUS

#define AIRMOTION_MAP_MIKROBUS ( cfg,
mikrobus )
Value:
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.an = MIKROBUS( mikrobus, MIKROBUS_AN ); \
cfg.int_pin = MIKROBUS( mikrobus, MIKROBUS_INT )

MikroBUS pin mapping.

Mapping pins of Air Motion Click to the selected MikroBUS.