lighttemp
2.0.0.0
Macros
MikroBUS
Light Temp Click Driver
»
Macros
Macros
#define
LIGHTTEMP_MAP_MIKROBUS
(cfg, mikrobus)
Detailed Description
Macro Definition Documentation
◆
LIGHTTEMP_MAP_MIKROBUS
#define LIGHTTEMP_MAP_MIKROBUS
(
cfg,
mikrobus
)
Value:
cfg.scl = MIKROBUS( mikrobus, MIKROBUS_SCL ); \
cfg.sda = MIKROBUS( mikrobus, MIKROBUS_SDA ); \
cfg.pwm1 = MIKROBUS( mikrobus, MIKROBUS_PWM ); \
cfg.pwm2 = MIKROBUS( mikrobus, MIKROBUS_CS ); \
cfg.int_pin = MIKROBUS( mikrobus, MIKROBUS_INT )