remotetemp 2.0.0.0
|
This file contains API for Remote Temp 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 | remotetemp_t |
Click ctx object definition. More... | |
struct | remotetemp_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | remotetemp_cfg_setup (remotetemp_cfg_t *cfg) |
Config Object Initialization function. | |
REMOTETEMP_RETVAL | remotetemp_init (remotetemp_t *ctx, remotetemp_cfg_t *cfg) |
Initialization function. | |
void | remotetemp_default_cfg (remotetemp_t *ctx) |
Click Default Configuration function. | |
void | remotetemp_generic_write (remotetemp_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic write function. | |
void | remotetemp_generic_read (remotetemp_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic read function. | |
uint8_t | remotetemp_int_get (remotetemp_t *ctx) |
Getting state of INT pin. | |
uint8_t | remotetemp_an_get (remotetemp_t *ctx) |
Getting state of AN pin. | |
uint8_t | remotetemp_set_range (remotetemp_t *ctx, uint8_t range_setting) |
Setting temperature range. | |
void | remotetemp_read (remotetemp_t *ctx, uint8_t register_address, uint8_t *read_buffer, uint8_t n_bytes) |
Reads register content. | |
void | remotetemp_write (remotetemp_t *ctx, uint8_t register_address, uint8_t *register_values, uint8_t n_bytes) |
Setting register content. | |
void | remotetemp_set_int_diode_high_limit (remotetemp_t *ctx, int16_t limit_value) |
Setting Internal diode high limit. | |
void | remotetemp_set_int_diode_low_limit (remotetemp_t *ctx, int16_t limit_value) |
Setting Internal diode low limit. | |
void | remotetemp_set_ext_diode_high_limit (remotetemp_t *ctx, int16_t limit_value, uint8_t diode) |
Setting external diodes high limit. | |
void | remotetemp_set_ext_diode_low_limit (remotetemp_t *ctx, int16_t limit_value, uint8_t diode) |
Setting external diodes low limit. | |
void | remotetemp_set_ext_diode_therm_limit (remotetemp_t *ctx, int16_t limit_value, uint8_t diode) |
Setting external diodes thermal limits. | |
void | remotetemp_set_int_diode_therm_limit (remotetemp_t *ctx, int16_t limit_value) |
Setting internal diodes thermal limits. | |
float | remotetemp_get_internal_diode (remotetemp_t *ctx) |
Getting internal diode temperature value. | |
float | remotetemp_get_external_diode (remotetemp_t *ctx, uint8_t diode) |
Getting external diode temperature value. | |
float | remotetemp_get_hottest_diode (remotetemp_t *ctx) |
Getting hottest diode temperature value. | |
This file contains API for Remote Temp Click driver.