temphum10 2.0.0.0
|
This file contains API for Temp&Hum 10 Click driver. More...
#include "drv_digital_out.h"
#include "drv_i2c_master.h"
Go to the source code of this file.
Data Structures | |
struct | temphum10_t |
Click ctx object definition. More... | |
struct | temphum10_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | temphum10_cfg_setup (temphum10_cfg_t *cfg) |
Config Object Initialization function. | |
TEMPHUM10_RETVAL | temphum10_init (temphum10_t *ctx, temphum10_cfg_t *cfg) |
Initialization function. | |
void | temphum10_generic_write (temphum10_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic write function. | |
void | temphum10_generic_read (temphum10_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic read function. | |
float | temphum10_get_humidity (temphum10_t *ctx) |
Functions for read Relative Huminidy data. | |
float | temphum10_get_temperature (temphum10_t *ctx) |
Functions for read Temperature data. | |
void | temphum10_set_device_mode (temphum10_t *ctx, uint8_t mode) |
Functions for sets Device mode. | |
void | temphum10_repeat_measurement (temphum10_t *ctx, uint8_t average) |
Functions for repeat measurement. | |
This file contains API for Temp&Hum 10 Click driver.