balancer3 2.0.0.0
|
This file contains API for Balancer 3 Click driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
Go to the source code of this file.
Data Structures | |
struct | balancer3_t |
Click ctx object definition. More... | |
struct | balancer3_cfg_t |
Click configuration structure definition. More... | |
Macros | |
#define | BALANCER3_MAP_MIKROBUS(cfg, mikrobus) |
#define | BALANCER3_OK 0 |
#define | BALANCER3_ERROR -1 |
#define | BALANCER3_CELL_BALANCE_EN 0 |
#define | BALANCER3_CELL_BALANCE_DIS 1 |
#define | BALANCER3_OV_COND_DETECTED 1 |
#define | BALANCER3_OV_COND_NOT_DETECTED 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. | |
This file contains API for Balancer 3 Click driver.