thermoj 2.0.0.0

Macros

#define THERMOJ_MAP_MIKROBUS(cfg, mikrobus)
 

Detailed Description

Macro Definition Documentation

◆ THERMOJ_MAP_MIKROBUS

#define THERMOJ_MAP_MIKROBUS ( cfg,
mikrobus )
Value:
cfg.scl = MIKROBUS( mikrobus, MIKROBUS_SCL ); \
cfg.sda = MIKROBUS( mikrobus, MIKROBUS_SDA ); \
cfg.alert4 = MIKROBUS( mikrobus, MIKROBUS_AN ); \
cfg.alert3 = MIKROBUS( mikrobus, MIKROBUS_RST ); \
cfg.alert2 = MIKROBUS( mikrobus, MIKROBUS_PWM ); \
cfg.alert1 = MIKROBUS( mikrobus, MIKROBUS_INT )