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.
 

Detailed Description

Function Documentation

◆ balancer3_cfg_setup()

void balancer3_cfg_setup ( balancer3_cfg_t * cfg)

Config Object Initialization function.

Parameters
cfgClick configuration structure.

This function initializes click configuration structure to init state.

Note
All used pins will be set to unconnected state.

◆ balancer3_check_overvoltage()

uint8_t balancer3_check_overvoltage ( balancer3_t * ctx)

Overvoltage Condition Check function.

Parameters
ctxClick object.

This fis function checks the Overvoltage condition.

◆ balancer3_enable_cell_balance()

void balancer3_enable_cell_balance ( balancer3_t * ctx,
uint8_t state )

Cell Balance Enable function.

Parameters
ctxClick object.
state0 - enable, 1 (or other value different from 0) - disable.

This function allows user to enable or disable Cell Balance (cell mismatch correction circuitry).

◆ balancer3_init()

err_t balancer3_init ( balancer3_t * ctx,
balancer3_cfg_t * cfg )

Initialization function.

Parameters
balancer3Click object.
cfgClick configuration structure.

This function initializes all necessary pins and peripherals used for this click.