temphum15 2.0.0.0
|
This file contains API for Temp&Hum 15 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 | temphum15_t |
Temp&Hum 15 Click context object. More... | |
struct | temphum15_cfg_t |
Temp&Hum 15 Click configuration object. More... | |
Functions | |
void | temphum15_cfg_setup (temphum15_cfg_t *cfg) |
Temp&Hum 15 configuration object setup function. More... | |
err_t | temphum15_init (temphum15_t *ctx, temphum15_cfg_t *cfg) |
Temp&Hum 15 initialization function. More... | |
err_t | temphum15_default_cfg (temphum15_t *ctx) |
Temp&Hum 15 default configuration function. More... | |
err_t | temphum15_generic_write (temphum15_t *ctx, uint8_t reg, uint8_t *tx_buf, uint8_t tx_len) |
Temp&Hum 15 I2C writing function. More... | |
err_t | temphum15_generic_read (temphum15_t *ctx, uint8_t reg, uint8_t *rx_buf, uint8_t rx_len) |
Temp&Hum 15 I2C reading function. More... | |
err_t | temphum15_get_temp_and_hum (temphum15_t *ctx, uint8_t precision_mode, float *temp_val, float *hum_val) |
Temp&Hum 15 get temperature and humidity function. More... | |
err_t | temphum15_soft_reset (temphum15_t *ctx) |
Temp&Hum 15 soft reset function. More... | |
err_t | temphum15_read_serial (temphum15_t *ctx, uint32_t *serial_number) |
Temp&Hum 15 read serial number function. More... | |
This file contains API for Temp&Hum 15 Click Driver.