39#ifdef PREINIT_SUPPORTED
43#ifdef MikroCCoreVersion
44 #if MikroCCoreVersion >= 1
49#include "drv_digital_out.h"
50#include "drv_digital_in.h"
72#define CHARGER16_MAP_MIKROBUS( cfg, mikrobus ) \
73 cfg.en = MIKROBUS( mikrobus, MIKROBUS_CS ); \
74 cfg.pwm = MIKROBUS( mikrobus, MIKROBUS_PWM )
charger16_return_value_t
Charger 16 Click return value data.
Definition charger16.h:106
@ CHARGER16_ERROR
Definition charger16.h:108
@ CHARGER16_OK
Definition charger16.h:107
err_t charger16_default_cfg(charger16_t *ctx)
Charger 16 default configuration function.
void charger16_cfg_setup(charger16_cfg_t *cfg)
Charger 16 configuration object setup function.
err_t charger16_enable_charging(charger16_t *ctx)
Charger 16 enable charging function.
err_t charger16_disable_charging(charger16_t *ctx)
Charger 16 disable charging function.
err_t charger16_init(charger16_t *ctx, charger16_cfg_t *cfg)
Charger 16 initialization function.
Charger 16 Click configuration object.
Definition charger16.h:95
pin_name_t en
Definition charger16.h:96
pin_name_t pwm
Definition charger16.h:97
Charger 16 Click context object.
Definition charger16.h:84
digital_out_t pwm
Definition charger16.h:86
digital_out_t en
Definition charger16.h:85