temphum24 2.1.0.0
|
This file contains API for TempHum 24 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 | temphum24_t |
TempHum 24 Click context object. More... | |
struct | temphum24_cfg_t |
TempHum 24 Click configuration object. More... | |
Enumerations | |
enum | temphum24_return_value_t { TEMPHUM24_OK = 0 , TEMPHUM24_ERROR = -1 } |
TempHum 24 Click return value data. More... | |
Functions | |
void | temphum24_cfg_setup (temphum24_cfg_t *cfg) |
TempHum 24 configuration object setup function. | |
err_t | temphum24_init (temphum24_t *ctx, temphum24_cfg_t *cfg) |
TempHum 24 initialization function. | |
err_t | temphum24_default_cfg (temphum24_t *ctx) |
TempHum 24 default configuration function. | |
err_t | temphum24_write_cmd (temphum24_t *ctx, uint16_t cmd) |
TempHum 24 write cmd function. | |
err_t | temphum24_write_cmd_config (temphum24_t *ctx, uint16_t cmd, uint16_t config) |
TempHum 24 write cmd config function. | |
err_t | temphum24_read_single (temphum24_t *ctx, uint16_t *data_out) |
TempHum 24 read single function. | |
err_t | temphum24_read_multi (temphum24_t *ctx, uint16_t *data1_out, uint16_t *data2_out) |
TempHum 24 read multi function. | |
err_t | temphum24_write_then_read_single (temphum24_t *ctx, uint16_t cmd, uint16_t *data_out) |
TempHum 24 write then read single function. | |
err_t | temphum24_write_then_read_multi (temphum24_t *ctx, uint16_t cmd, uint16_t *data1_out, uint16_t *data2_out) |
TempHum 24 write then read multi function. | |
void | temphum24_enable_device (temphum24_t *ctx) |
TempHum 24 enable device function. | |
void | temphum24_disable_device (temphum24_t *ctx) |
TempHum 24 disable device function. | |
void | temphum24_reset_device (temphum24_t *ctx) |
TempHum 24 reset device function. | |
uint8_t | temphum24_get_alert_pin (temphum24_t *ctx) |
TempHum 24 get alert pin function. | |
err_t | temphum24_check_communication (temphum24_t *ctx) |
TempHum 24 check communication function. | |
err_t | temphum24_read_temp_and_rh (temphum24_t *ctx, float *temp, float *hum) |
TempHum 24 read temp and rh function. | |
err_t | temphum24_read_temp_history (temphum24_t *ctx, float *temp_min, float *temp_max) |
TempHum 24 read temp history function. | |
err_t | temphum24_read_rh_history (temphum24_t *ctx, float *hum_min, float *hum_max) |
TempHum 24 read rh history function. | |
err_t | temphum24_start_measurement (temphum24_t *ctx) |
TempHum 24 start measurement function. | |
err_t | temphum24_stop_measurement (temphum24_t *ctx) |
TempHum 24 stop measurement function. | |
err_t | temphum24_get_serial_number (temphum24_t *ctx, uint16_t *serial_number) |
TempHum 24 read serial number function. | |
This file contains API for TempHum 24 Click Driver.