vcpmonitor6
2.1.0.0
|
This file contains API for VCP Monitor 6 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 | vcpmonitor6_t |
VCP Monitor 6 Click context object. More... | |
struct | vcpmonitor6_cfg_t |
VCP Monitor 6 Click configuration object. More... | |
Enumerations | |
enum | vcpmonitor6_return_value_t { VCPMONITOR6_OK = 0, VCPMONITOR6_ERROR = -1 } |
VCP Monitor 6 Click return value data. More... | |
Functions | |
void | vcpmonitor6_cfg_setup (vcpmonitor6_cfg_t *cfg) |
VCP Monitor 6 configuration object setup function. More... | |
err_t | vcpmonitor6_init (vcpmonitor6_t *ctx, vcpmonitor6_cfg_t *cfg) |
VCP Monitor 6 initialization function. More... | |
err_t | vcpmonitor6_default_cfg (vcpmonitor6_t *ctx) |
VCP Monitor 6 default configuration function. More... | |
err_t | vcpmonitor6_generic_write (vcpmonitor6_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
VCP Monitor 6 I2C writing function. More... | |
err_t | vcpmonitor6_generic_read (vcpmonitor6_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
VCP Monitor 6 I2C reading function. More... | |
err_t | vcpmonitor6_reg_write (vcpmonitor6_t *ctx, uint8_t reg, uint16_t data_in) |
VCP Monitor 6 register writing function. More... | |
err_t | vcpmonitor6_reg_read (vcpmonitor6_t *ctx, uint8_t reg, uint16_t *data_out) |
VCP Monitor 6 register reading function. More... | |
err_t | vcpmonitor6_sw_reset (vcpmonitor6_t *ctx) |
VCP Monitor 6 SW reset writing function. More... | |
err_t | vcpmonitor6_set_conv_dly (vcpmonitor6_t *ctx, uint16_t dly_ms) |
VCP Monitor 6 set conversion delay function. More... | |
err_t | vcpmonitor6_set_op_mode (vcpmonitor6_t *ctx, uint8_t op_mode) |
VCP Monitor 6 set the operating mode function. More... | |
err_t | vcpmonitor6_set_conv_time (vcpmonitor6_t *ctx, uint8_t vbusct, uint8_t vsenct, uint8_t tct) |
VCP Monitor 6 set the conversion time function. More... | |
err_t | vcpmonitor6_set_adc_avg (vcpmonitor6_t *ctx, uint8_t avg) |
VCP Monitor 6 set the ADC sample function. More... | |
err_t | vcpmonitor6_get_bus_voltage (vcpmonitor6_t *ctx, float *voltage) |
VCP Monitor 6 get the voltage function. More... | |
err_t | vcpmonitor6_get_temperature (vcpmonitor6_t *ctx, float *temperature) |
VCP Monitor 6 get the temperature function. More... | |
err_t | vcpmonitor6_get_current (vcpmonitor6_t *ctx, float *current) |
VCP Monitor 6 get the current function. More... | |
err_t | vcpmonitor6_get_power (vcpmonitor6_t *ctx, float *power) |
VCP Monitor 6 get the power function. More... | |
err_t | vcpmonitor6_get_energy (vcpmonitor6_t *ctx, float *energy) |
VCP Monitor 6 get the energy function. More... | |
err_t | vcpmonitor6_get_charge (vcpmonitor6_t *ctx, float *charge) |
VCP Monitor 6 get the charge function. More... | |
err_t | vcpmonitor6_set_diag_flg_alr (vcpmonitor6_t *ctx, uint16_t diag_flg_alr) |
VCP Monitor 6 set diagnostic function. More... | |
err_t | vcpmonitor6_get_indc_flg (vcpmonitor6_t *ctx, uint16_t *indc_flg) |
VCP Monitor 6 get diagnostic indicates function. More... | |
err_t | vcpmonitor6_wait_conv_cmpl (vcpmonitor6_t *ctx) |
VCP Monitor 6 wait conversion function. More... | |
err_t | vcpmonitor6_get_device_id (vcpmonitor6_t *ctx, uint16_t *man_id) |
VCP Monitor 6 get device ID function. More... | |
uint8_t | vcpmonitor6_get_alarm (vcpmonitor6_t *ctx) |
VCP Monitor 6 get alarm function. More... | |
This file contains API for VCP Monitor 6 Click Driver.