temphum22
2.1.0.0
|
This file contains API for TempHum 22 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 | temphum22_t |
TempHum 22 Click context object. More... | |
struct | temphum22_cfg_t |
TempHum 22 Click configuration object. More... | |
Enumerations | |
enum | temphum22_return_value_t { TEMPHUM22_OK = 0, TEMPHUM22_ERROR = -1 } |
TempHum 22 Click return value data. More... | |
Functions | |
void | temphum22_cfg_setup (temphum22_cfg_t *cfg) |
TempHum 22 configuration object setup function. More... | |
err_t | temphum22_init (temphum22_t *ctx, temphum22_cfg_t *cfg) |
TempHum 22 initialization function. More... | |
err_t | temphum22_send_cmd (temphum22_t *ctx, uint8_t cmd) |
TempHum 22 send cmd function. More... | |
err_t | temphum22_read_response (temphum22_t *ctx, uint8_t *data_out) |
TempHum 22 read response function. More... | |
err_t | temphum22_soft_reset (temphum22_t *ctx) |
TempHum 22 soft reset function. More... | |
err_t | temphum22_read_serial_num (temphum22_t *ctx, uint32_t *serial_num) |
TempHum 22 read serial num function. More... | |
err_t | temphum22_read_measurement_high_precision (temphum22_t *ctx, float *temp, float *hum) |
TempHum 22 read measurement high precision function. More... | |
This file contains API for TempHum 22 Click Driver.