temphum12 2.0.0.0
|
This file contains API for Temp&Hum 12 Click driver. More...
#include "drv_digital_in.h"
#include "drv_i2c_master.h"
Go to the source code of this file.
Data Structures | |
struct | temphum12_t |
Click ctx object definition. More... | |
struct | temphum12_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | temphum12_cfg_setup (temphum12_cfg_t *cfg) |
Config Object Initialization function. | |
TEMPHUM12_RETVAL | temphum12_init (temphum12_t *ctx, temphum12_cfg_t *cfg) |
Initialization function. | |
void | temphum12_default_cfg (temphum12_t *ctx) |
Click Default Configuration function. | |
void | temphum12_generic_write (temphum12_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic write function. | |
void | temphum12_generic_read (temphum12_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic read function. | |
float | temphum12_get_temperature (temphum12_t *ctx, uint8_t temp_in) |
Temperature data. | |
float | temphum12_get_humidity (temphum12_t *ctx) |
Relative Huminidy data. | |
uint8_t | temphum12_get_intrrupt_state (temphum12_t *ctx) |
Interrupt state. | |
This file contains API for Temp&Hum 12 Click driver.