ibutton 2.1.0.0
iButton MikroBUS Map

MikroBUS pin mapping of iButton Click driver. More...

Macros

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

Detailed Description

MikroBUS pin mapping of iButton Click driver.

Macro Definition Documentation

◆ IBUTTON_MAP_MIKROBUS

#define IBUTTON_MAP_MIKROBUS ( cfg,
mikrobus )
Value:
cfg.gp0 = MIKROBUS( mikrobus, MIKROBUS_PWM ); \
cfg.gp1 = MIKROBUS( mikrobus, MIKROBUS_AN ); \
cfg.st1 = MIKROBUS( mikrobus, MIKROBUS_RST ); \
cfg.st2 = MIKROBUS( mikrobus, MIKROBUS_CS );

MikroBUS pin mapping.

Mapping pins of iButton Click to the selected MikroBUS.