haptic4 2.1.0.0
Haptic 4 MikroBUS Map

MikroBUS pin mapping of Haptic 4 Click driver. More...

Macros

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

Detailed Description

MikroBUS pin mapping of Haptic 4 Click driver.

Macro Definition Documentation

◆ HAPTIC4_MAP_MIKROBUS

#define HAPTIC4_MAP_MIKROBUS ( cfg,
mikrobus )
Value:
cfg.scl = MIKROBUS( mikrobus, MIKROBUS_SCL ); \
cfg.sda = MIKROBUS( mikrobus, MIKROBUS_SDA ); \
cfg.gp1 = MIKROBUS( mikrobus, MIKROBUS_AN ); \
cfg.gp2 = MIKROBUS( mikrobus, MIKROBUS_RST ); \
cfg.gp0 = MIKROBUS( mikrobus, MIKROBUS_PWM ); \
cfg.irq = MIKROBUS( mikrobus, MIKROBUS_INT )

MikroBUS pin mapping.

Mapping pins of Haptic 4 Click to the selected MikroBUS.