buck2
2.0.0.0
Macros
MikroBUS
Buck 2 Click Driver
»
Macros
Macros
#define
BUCK2_MAP_MIKROBUS
(cfg, mikrobus)
Detailed Description
Macro Definition Documentation
◆
BUCK2_MAP_MIKROBUS
#define BUCK2_MAP_MIKROBUS
(
cfg,
mikrobus
)
Value:
cfg.voset0 = MIKROBUS( mikrobus, MIKROBUS_AN ); \
cfg.voset1 = MIKROBUS( mikrobus, MIKROBUS_RST ); \
cfg.en= MIKROBUS( mikrobus, MIKROBUS_CS ); \
cfg.fq= MIKROBUS( mikrobus, MIKROBUS_PWM ); \
cfg.pg= MIKROBUS( mikrobus, MIKROBUS_INT );