hwmonitor2 2.1.0.0
|
This file contains API for HW Monitor 2 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 | hwmonitor2_t |
HW Monitor 2 Click context object. More... | |
struct | hwmonitor2_cfg_t |
HW Monitor 2 Click configuration object. More... | |
struct | hwmonitor2_config_t |
HW Monitor 2 Click configuration object. More... | |
Enumerations | |
enum | hwmonitor2_return_value_t { HWMONITOR2_OK = 0 , HWMONITOR2_ERROR = -1 } |
HW Monitor 2 Click return value data. More... | |
Functions | |
void | hwmonitor2_cfg_setup (hwmonitor2_cfg_t *cfg) |
HW Monitor 2 configuration object setup function. | |
err_t | hwmonitor2_init (hwmonitor2_t *ctx, hwmonitor2_cfg_t *cfg) |
HW Monitor 2 initialization function. | |
err_t | hwmonitor2_default_cfg (hwmonitor2_t *ctx) |
HW Monitor 2 default configuration function. | |
err_t | hwmonitor2_generic_write (hwmonitor2_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
HW Monitor 2 I2C writing function. | |
err_t | hwmonitor2_generic_read (hwmonitor2_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
HW Monitor 2 I2C reading function. | |
void | hwmonitor2_reset (hwmonitor2_t *ctx) |
HW Monitor 2 reset function. | |
err_t | hwmonitor2_get_config (hwmonitor2_t *ctx, hwmonitor2_config_t *config) |
HW Monitor 2 gets configuration function. | |
err_t | hwmonitor2_set_config (hwmonitor2_t *ctx, hwmonitor2_config_t config) |
HW Monitor 2 set the configuration function. | |
err_t | hwmonitor2_get_device_id (hwmonitor2_t *ctx, uint8_t *manufacture_id, uint8_t *revision_id) |
HW Monitor 2 gets device ID function. | |
err_t | hwmonitor2_set_temp_res (hwmonitor2_t *ctx, uint8_t temp_res) |
HW Monitor 2 set temperature resolution function. | |
err_t | hwmonitor2_set_ch_out (hwmonitor2_t *ctx, uint8_t ch_out) |
HW Monitor 2 set voltage/temperature channel function. | |
err_t | hwmonitor2_get_temperature (hwmonitor2_t *ctx, float *temperature) |
HW Monitor 2 gets temperature function. | |
err_t | hwmonitor2_get_analog_inputs (hwmonitor2_t *ctx, uint8_t ch_pos, float *voltage) |
HW Monitor 2 gets analog inputs voltage function. | |
err_t | hwmonitor2_get_fan_output (hwmonitor2_t *ctx, uint8_t fan_pos, uint8_t *fan_output) |
HW Monitor 2 gets FAN output function. | |
uint8_t | hwmonitor2_get_int_pin (hwmonitor2_t *ctx) |
HW Monitor 2 gets interrupt function. | |
This file contains API for HW Monitor 2 Click Driver.