vctmonitor 2.0.0.0
|
This file contains API for VCT Monitor 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 | vctmonitor_t |
VCT Monitor Click context object. More... | |
struct | vctmonitor_cfg_t |
VCT Monitor Click configuration object. More... | |
Enumerations | |
enum | vctmonitor_return_value_t { VCTMONITOR_OK = 0 , VCTMONITOR_ERROR = -1 } |
VCT Monitor Click return value data. More... | |
Functions | |
void | vctmonitor_cfg_setup (vctmonitor_cfg_t *cfg) |
VCT Monitor configuration object setup function. | |
err_t | vctmonitor_init (vctmonitor_t *ctx, vctmonitor_cfg_t *cfg) |
VCT Monitor initialization function. | |
err_t | vctmonitor_default_cfg (vctmonitor_t *ctx) |
VCT Monitor default configuration function. | |
err_t | vctmonitor_generic_write (vctmonitor_t *ctx, uint8_t reg, uint8_t *tx_buf, uint8_t tx_len) |
VCT Monitor I2C writing function. | |
err_t | vctmonitor_generic_read (vctmonitor_t *ctx, uint8_t reg, uint8_t *rx_buf, uint8_t rx_len) |
VCT Monitor I2C reading function. | |
uint8_t | vctmonitor_get_status (vctmonitor_t *ctx) |
Gets status value. | |
void | vctmonitor_configuration (vctmonitor_t *ctx, uint8_t cfg) |
Configuration function. | |
float | vctmonitor_read_temperature (vctmonitor_t *ctx) |
Get temperature function. | |
float | vctmonitor_read_voltage_differential (vctmonitor_t *ctx) |
Differential voltage function. | |
float | vctmonitor_read_voltage_single (vctmonitor_t *ctx, uint8_t channel) |
Single voltage function. | |
float | vctmonitor_read_current (vctmonitor_t *ctx) |
Current function. | |
This file contains API for VCT Monitor Click Driver.