|
tempalarm 2.2.0
|
This file contains API for Temp Alarm 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 | tempalarm_t |
| Temp Alarm Click context object. More... | |
| struct | tempalarm_cfg_t |
| Temp Alarm Click configuration object. More... | |
Enumerations | |
| enum | tempalarm_return_value_t { TEMPALARM_OK = 0 , TEMPALARM_ERROR = -1 } |
| Temp Alarm Click return value data. More... | |
Functions | |
| void | tempalarm_cfg_setup (tempalarm_cfg_t *cfg) |
| Temp Alarm configuration object setup function. | |
| err_t | tempalarm_init (tempalarm_t *ctx, tempalarm_cfg_t *cfg) |
| Temp Alarm initialization function. | |
| err_t | tempalarm_default_cfg (tempalarm_t *ctx) |
| Temp Alarm default configuration function. | |
| err_t | tempalarm_generic_write (tempalarm_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
| Temp Alarm I2C writing function. | |
| err_t | tempalarm_generic_read (tempalarm_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
| Temp Alarm I2C reading function. | |
| uint8_t | tempalarm_get_alr_pin (tempalarm_t *ctx) |
| Temp Alarm get alarm pin state function. | |
| uint8_t | tempalarm_get_tcr_pin (tempalarm_t *ctx) |
| Temp Alarm get critical temperature alert pin state function. | |
| err_t | tempalarm_write_reg (tempalarm_t *ctx, uint8_t reg, uint8_t data_in) |
| Temp Alarm register writing function. | |
| err_t | tempalarm_read_reg (tempalarm_t *ctx, uint8_t reg, uint8_t *data_out) |
| Temp Alarm register reading function. | |
| err_t | tempalarm_read_temperature (tempalarm_t *ctx, int8_t *temperature) |
| Temp Alarm local sensor read temperature function. | |
| err_t | tempalarm_read_remote_temp (tempalarm_t *ctx, float *temperature) |
| Temp Alarm remote sensor read temperature function. | |
| err_t | tempalarm_set_crit_thigh (tempalarm_t *ctx, int8_t max_temperature) |
| Temp Alarm local sensor set critical high temperature function. | |
| err_t | tempalarm_set_limit_thigh (tempalarm_t *ctx, int8_t max_temperature) |
| Temp Alarm local sensor set limit high temperature function. | |
| err_t | tempalarm_set_alarm_low_limit (tempalarm_t *ctx, float min_temperature) |
| Temp Alarm remote sensor set limit low temperature function. | |
| err_t | tempalarm_set_alarm_high_limit (tempalarm_t *ctx, float max_temperature) |
| Temp Alarm remote sensor set limit high temperature function. | |
| err_t | tempalarm_get_alarms (tempalarm_t *ctx, uint8_t *alarms) |
| Temp Alarm read alarms state function. | |
This file contains API for Temp Alarm Click Driver.