|
charger3
2.0.0.0
|
This file contains API for Charger 3 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 | charger3_t |
| Charger 3 Click context object. More... | |
| struct | charger3_cfg_t |
| Charger 3 Click configuration object. More... | |
Functions | |
| void | charger3_cfg_setup (charger3_cfg_t *cfg) |
| Charger 3 configuration object setup function. More... | |
| err_t | charger3_init (charger3_t *ctx, charger3_cfg_t *cfg) |
| Charger 3 initialization function. More... | |
| void | charger3_default_cfg (charger3_t *ctx) |
| Charger 3 default configuration function. More... | |
| err_t | charger3_generic_write (charger3_t *ctx, uint8_t reg, uint8_t *tx_buf, uint8_t tx_len) |
| Charger 3 I2C writing function. More... | |
| err_t | charger3_generic_read (charger3_t *ctx, uint8_t reg, uint8_t *rx_buf, uint8_t rx_len) |
| Charger 3 I2C reading function. More... | |
| void | charger3_enable_write (charger3_t *ctx) |
| Charger 3 enable write function. More... | |
| void | charger3_operating_mode (charger3_t *ctx, uint8_t mode) |
| Charger 3 set operating mode function. More... | |
| void | charger3_write_rdac (charger3_t *ctx, uint16_t rdac_data) |
| Charger 3 write to rdac function. More... | |
| uint8_t | charger3_set_digipot_res (charger3_t *ctx, uint16_t res_ohm) |
| Charger 3 set digital potentiometer resistance function. More... | |
| uint8_t | charger3_set_current (charger3_t *ctx, float curr_value) |
| Charger 3 set current function. More... | |
| uint16_t | charger3_read_rdac (charger3_t *ctx) |
| Charger 3 read rdac function. More... | |
| float | charger3_calc_digipot_res (charger3_t *ctx) |
| Charger 3 calculate digipot resistance function. More... | |
This file contains API for Charger 3 Click Driver.
1.8.16