hwmonitor 2.1.0.0
|
This file contains API for HW 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 | hwmonitor_t |
HW Monitor Click context object. More... | |
struct | hwmonitor_cfg_t |
HW Monitor Click configuration object. More... | |
struct | hwmonitor_config_t |
HW Monitor Click configuration object. More... | |
Enumerations | |
enum | hwmonitor_return_value_t { HWMONITOR_OK = 0 , HWMONITOR_ERROR = -1 } |
HW Monitor Click return value data. More... | |
Functions | |
void | hwmonitor_cfg_setup (hwmonitor_cfg_t *cfg) |
HW Monitor configuration object setup function. | |
err_t | hwmonitor_init (hwmonitor_t *ctx, hwmonitor_cfg_t *cfg) |
HW Monitor initialization function. | |
err_t | hwmonitor_default_cfg (hwmonitor_t *ctx) |
HW Monitor default configuration function. | |
err_t | hwmonitor_generic_write (hwmonitor_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
HW Monitor I2C writing function. | |
err_t | hwmonitor_generic_read (hwmonitor_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
HW Monitor I2C reading function. | |
void | hwmonitor_reset (hwmonitor_t *ctx) |
HW Monitor reset function. | |
err_t | hwmonitor_get_config (hwmonitor_t *ctx, hwmonitor_config_t *config) |
HW Monitor gets configuration function. | |
err_t | hwmonitor_set_config (hwmonitor_t *ctx, hwmonitor_config_t config) |
HW Monitor set the configuration function. | |
err_t | hwmonitor_get_device_id (hwmonitor_t *ctx, uint8_t *manufacture_id, uint8_t *revision_id) |
HW Monitor gets device ID function. | |
err_t | hwmonitor_set_temp_res (hwmonitor_t *ctx, uint8_t temp_res) |
HW Monitor set temperature resolution function. | |
err_t | hwmonitor_set_ch_out (hwmonitor_t *ctx, uint8_t ch_out) |
HW Monitor set voltage/temperature channel function. | |
err_t | hwmonitor_get_temperature (hwmonitor_t *ctx, float *temperature) |
HW Monitor gets temperature function. | |
err_t | hwmonitor_get_analog_inputs (hwmonitor_t *ctx, uint8_t in_pos, float *voltage) |
HW Monitor gets analog inputs voltage function. | |
err_t | hwmonitor_get_fan_output (hwmonitor_t *ctx, uint8_t fan_pos, uint8_t *fan_output) |
HW Monitor gets FAN output function. | |
err_t | hwmonitor_set_analog_in_limit (hwmonitor_t *ctx, uint8_t in_pos, uint16_t upper_limit, uint16_t lower_limit) |
HW Monitor set analog inputs voltage limits function. | |
uint8_t | hwmonitor_get_int_pin (hwmonitor_t *ctx) |
HW Monitor gets interrupt function. | |
This file contains API for HW Monitor Click Driver.