temphum25
2.1.0.0
|
This file contains API for TempHum 25 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 | temphum25_t |
TempHum 25 Click context object. More... | |
struct | temphum25_cfg_t |
TempHum 25 Click configuration object. More... | |
Enumerations | |
enum | temphum25_return_value_t { TEMPHUM25_OK = 0, TEMPHUM25_ERROR = -1 } |
TempHum 25 Click return value data. More... | |
Functions | |
void | temphum25_cfg_setup (temphum25_cfg_t *cfg) |
TempHum 25 configuration object setup function. More... | |
err_t | temphum25_init (temphum25_t *ctx, temphum25_cfg_t *cfg) |
TempHum 25 initialization function. More... | |
err_t | temphum25_send_command (temphum25_t *ctx, uint16_t cmd) |
TempHum 25 send command function. More... | |
err_t | temphum25_start_measurement (temphum25_t *ctx, uint16_t meas_cmd) |
TempHum 25 start measurement function. More... | |
err_t | temphum25_stop_measurement (temphum25_t *ctx) |
TempHum 25 stop measurement function. More... | |
err_t | temphum25_read_measurement (temphum25_t *ctx, float *temperature, float *humidity) |
TempHum 25 read measurement function. More... | |
err_t | temphum25_read_serial_num (temphum25_t *ctx, uint32_t *serial_num) |
TempHum 25 read serial num function. More... | |
err_t | temphum25_read_status (temphum25_t *ctx, uint16_t *status) |
TempHum 25 read status function. More... | |
err_t | temphum25_clear_status (temphum25_t *ctx) |
TempHum 25 clear status function. More... | |
err_t | temphum25_enable_heater (temphum25_t *ctx) |
TempHum 25 enable heater function. More... | |
err_t | temphum25_disable_heater (temphum25_t *ctx) |
TempHum 25 disable heater function. More... | |
err_t | temphum25_soft_reset (temphum25_t *ctx) |
TempHum 25 soft reset function. More... | |
void | temphum25_set_rst_pin (temphum25_t *ctx, uint8_t state) |
TempHum 25 set rst pin function. More... | |
void | temphum25_reset_device (temphum25_t *ctx) |
TempHum 25 reset device function. More... | |
uint8_t | temphum25_get_alert_pin (temphum25_t *ctx) |
TempHum 25 get alert pin function. More... | |
This file contains API for TempHum 25 Click Driver.