balancer4 2.0.0.0
|
This file contains API for Balancer 4 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_i2c_master.h"
Go to the source code of this file.
Data Structures | |
struct | balancer4_t |
Balancer 4 Click context object. More... | |
struct | balancer4_cfg_t |
Balancer 4 Click configuration object. More... | |
Enumerations | |
enum | balancer4_return_value_t { BALANCER4_OK = 0 , BALANCER4_ERROR = -1 } |
Balancer 4 Click return value data. More... | |
Functions | |
void | balancer4_cfg_setup (balancer4_cfg_t *cfg) |
Balancer 4 configuration object setup function. | |
err_t | balancer4_init (balancer4_t *ctx, balancer4_cfg_t *cfg) |
Balancer 4 initialization function. | |
err_t | balancer4_default_cfg (balancer4_t *ctx) |
Balancer 4 default configuration function. | |
err_t | balancer4_write_register (balancer4_t *ctx, uint8_t reg, uint8_t data_in) |
Balancer 4 write register function. | |
err_t | balancer4_write_and_verify_register (balancer4_t *ctx, uint8_t reg, uint8_t data_in) |
Balancer 4 write and verify register function. | |
err_t | balancer4_read_register (balancer4_t *ctx, uint8_t reg, uint8_t *data_out) |
Balancer 4 read register function. | |
This file contains API for Balancer 4 Click Driver.