hwmonitor3
2.1.0.0
|
This file contains API for HW Monitor 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 | hwmonitor3_ch_mon_t |
HW Monitor 3 Click channel voltage monitor object. More... | |
struct | hwmonitor3_t |
HW Monitor 3 Click context object. More... | |
struct | hwmonitor3_cfg_t |
HW Monitor 3 Click configuration object. More... | |
Enumerations | |
enum | hwmonitor3_return_value_t { HWMONITOR3_OK = 0, HWMONITOR3_ERROR = -1 } |
HW Monitor 3 Click return value data. More... | |
Functions | |
void | hwmonitor3_cfg_setup (hwmonitor3_cfg_t *cfg) |
HW Monitor 3 configuration object setup function. More... | |
err_t | hwmonitor3_init (hwmonitor3_t *ctx, hwmonitor3_cfg_t *cfg) |
HW Monitor 3 initialization function. More... | |
err_t | hwmonitor3_default_cfg (hwmonitor3_t *ctx) |
HW Monitor 3 default configuration function. More... | |
err_t | hwmonitor3_write_reg (hwmonitor3_t *ctx, uint8_t reg, uint8_t data_in) |
HW Monitor 3 write reg function. More... | |
err_t | hwmonitor3_write_regs (hwmonitor3_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
HW Monitor 3 write regs function. More... | |
err_t | hwmonitor3_read_reg (hwmonitor3_t *ctx, uint8_t reg, uint8_t *data_out) |
HW Monitor 3 read reg function. More... | |
err_t | hwmonitor3_read_regs (hwmonitor3_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
HW Monitor 3 read regs function. More... | |
void | hwmonitor3_set_en_pin (hwmonitor3_t *ctx, uint8_t state) |
HW Monitor 3 set en pin function. More... | |
void | hwmonitor3_set_sleep_pin (hwmonitor3_t *ctx, uint8_t state) |
HW Monitor 3 set sleep pin function. More... | |
uint8_t | hwmonitor3_get_sync_pin (hwmonitor3_t *ctx) |
HW Monitor 3 get sync pin function. More... | |
uint8_t | hwmonitor3_get_irq_pin (hwmonitor3_t *ctx) |
HW Monitor 3 get irq pin function. More... | |
err_t | hwmonitor3_select_bank0 (hwmonitor3_t *ctx) |
HW Monitor 3 select bank0 function. More... | |
err_t | hwmonitor3_select_bank1 (hwmonitor3_t *ctx) |
HW Monitor 3 select bank1 function. More... | |
err_t | hwmonitor3_check_communication (hwmonitor3_t *ctx) |
HW Monitor 3 check communication function. More... | |
err_t | hwmonitor3_enable_channel (hwmonitor3_t *ctx, uint8_t ch_mask) |
HW Monitor 3 enable channel function. More... | |
err_t | hwmonitor3_disable_channel (hwmonitor3_t *ctx, uint8_t ch_mask) |
HW Monitor 3 disable channel function. More... | |
err_t | hwmonitor3_set_scaling (hwmonitor3_t *ctx, uint8_t scaling, uint8_t ch_mask) |
HW Monitor 3 set scaling function. More... | |
err_t | hwmonitor3_read_voltage (hwmonitor3_t *ctx, hwmonitor3_ch_mon_t *ch_mon) |
HW Monitor 3 read voltage function. More... | |
This file contains API for HW Monitor 3 Click Driver.