balancer3 2.0.0.0
|
Functions | |
void | balancer3_cfg_setup (balancer3_cfg_t *cfg) |
Config Object Initialization function. | |
err_t | balancer3_init (balancer3_t *ctx, balancer3_cfg_t *cfg) |
Initialization function. | |
void | balancer3_enable_cell_balance (balancer3_t *ctx, uint8_t state) |
Cell Balance Enable function. | |
uint8_t | balancer3_check_overvoltage (balancer3_t *ctx) |
Overvoltage Condition Check function. | |
void balancer3_cfg_setup | ( | balancer3_cfg_t * | cfg | ) |
Config Object Initialization function.
cfg | Click configuration structure. |
This function initializes click configuration structure to init state.
uint8_t balancer3_check_overvoltage | ( | balancer3_t * | ctx | ) |
Overvoltage Condition Check function.
ctx | Click object. |
This fis function checks the Overvoltage condition.
void balancer3_enable_cell_balance | ( | balancer3_t * | ctx, |
uint8_t | state ) |
Cell Balance Enable function.
ctx | Click object. |
state | 0 - enable, 1 (or other value different from 0) - disable. |
This function allows user to enable or disable Cell Balance (cell mismatch correction circuitry).
err_t balancer3_init | ( | balancer3_t * | ctx, |
balancer3_cfg_t * | cfg ) |
Initialization function.
balancer3 | Click object. |
cfg | Click configuration structure. |
This function initializes all necessary pins and peripherals used for this click.