charger13 2.0.0.0
|
Functions | |
void | charger13_cfg_setup (charger13_cfg_t *cfg) |
Config Object Initialization function. | |
CHARGER13_RETVAL | charger13_init (charger13_t *ctx, charger13_cfg_t *cfg) |
Initialization function. | |
void | charger13_enable (charger13_t *ctx) |
Enabled charging function. | |
void | charger13_disable (charger13_t *ctx) |
Disabled charging function. | |
uint8_t | charger13_check (charger13_t *ctx) |
Check battery charging function. | |
void charger13_cfg_setup | ( | charger13_cfg_t * | cfg | ) |
Config Object Initialization function.
cfg | Click configuration structure. |
@description This function initializes click configuration structure to init state.
uint8_t charger13_check | ( | charger13_t * | ctx | ) |
Check battery charging function.
ctx | Click object. |
@description This function check if the battery is charging of the Charger 13 click board.
void charger13_disable | ( | charger13_t * | ctx | ) |
Disabled charging function.
ctx | Click object. |
@description This function disable battery charging by sets to HIGH state of the EN ( PWM ) pin of the Charger 13 click board.
void charger13_enable | ( | charger13_t * | ctx | ) |
Enabled charging function.
ctx | Click object. |
@description This function enable battery charging by cleared to LOW state of the EN ( PWM ) pin of the Charger 13 click board.
CHARGER13_RETVAL charger13_init | ( | charger13_t * | ctx, |
charger13_cfg_t * | cfg ) |
Initialization function.
charger13 | Click object. |
cfg | Click configuration structure. |
@description This function initializes all necessary pins and peripherals used for this click.