charger9 2.0.0.0
|
Functions | |
void | charger9_cfg_setup (charger9_cfg_t *cfg) |
Config Object Initialization function. | |
CHARGER9_RETVAL | charger9_init (charger9_t *ctx, charger9_cfg_t *cfg) |
Initialization function. | |
CHARGER9_RETVAL | charger9_enable (charger9_t *ctx, CHARGER9_STATE pwr_state) |
Enable function. | |
CHARGER9_RETVAL | charger9_fast_charge_ind (charger9_t *ctx) |
Fast-Charge Indicate function. | |
CHARGER9_RETVAL | charger9_full_charge_ind (charger9_t *ctx) |
Full-Charge Indicate function. | |
CHARGER9_RETVAL | charger9_fault_ind (charger9_t *ctx) |
Fault Indicate function. | |
void charger9_cfg_setup | ( | charger9_cfg_t * | cfg | ) |
Config Object Initialization function.
cfg | Click configuration structure. |
@description This function initializes click configuration structure to init state.
CHARGER9_RETVAL charger9_enable | ( | charger9_t * | ctx, |
CHARGER9_STATE | pwr_state ) |
Enable function.
ctx | Click object. |
pwr_state | 0 - Shutdown state, 1 - Power ON state |
@description This function allows user to enable or disable the device.
CHARGER9_RETVAL charger9_fast_charge_ind | ( | charger9_t * | ctx | ) |
Fast-Charge Indicate function.
ctx | Click object. |
@description This function indicates the Fast-Charge mode, constant current charging.
CHARGER9_RETVAL charger9_fault_ind | ( | charger9_t * | ctx | ) |
Fault Indicate function.
ctx | Click object. |
@description This function indicates the Fault condition, charging terminates abnormally.
CHARGER9_RETVAL charger9_full_charge_ind | ( | charger9_t * | ctx | ) |
Full-Charge Indicate function.
ctx | Click object. |
@description This function indicates the Full-Charge mode, constant voltage charging.
CHARGER9_RETVAL charger9_init | ( | charger9_t * | ctx, |
charger9_cfg_t * | cfg ) |
Initialization function.
charger9 | Click object. |
cfg | Click configuration structure. |
@description This function initializes all necessary pins and peripherals used for this click.