temphum17 2.0.0.0
|
This file contains API for Temp&Hum 17 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 | temphum17_t |
Temp&Hum 17 Click context object. More... | |
struct | temphum17_cfg_t |
Temp&Hum 17 Click configuration object. More... | |
Enumerations | |
enum | temphum17_return_value_t { TEMPHUM17_OK = 0 , TEMPHUM17_ERROR = -1 } |
Temp&Hum 17 Click return value data. More... | |
Functions | |
void | temphum17_cfg_setup (temphum17_cfg_t *cfg) |
Temp&Hum 17 configuration object setup function. | |
err_t | temphum17_init (temphum17_t *ctx, temphum17_cfg_t *cfg) |
Temp&Hum 17 initialization function. | |
err_t | temphum17_default_cfg (temphum17_t *ctx) |
Temp&Hum 17 default configuration function. | |
err_t | temphum17_generic_write (temphum17_t *ctx, uint8_t reg, uint8_t *tx_buf, uint8_t tx_len) |
Temp&Hum 17 I2C writing function. | |
err_t | temphum17_generic_read (temphum17_t *ctx, uint8_t reg, uint8_t *rx_buf, uint8_t rx_len) |
Temp&Hum 17 I2C reading function. | |
err_t | temphum17_wake_up (temphum17_t *ctx) |
Temp&Hum 17 wake up function. | |
err_t | temphum17_get_raw_data (temphum17_t *ctx, uint8_t resolution, int16_t *temp, uint16_t *hum, uint8_t *status) |
Temp&Hum 17 get raw data function. | |
err_t | temphum17_get_temp_hum (temphum17_t *ctx, uint8_t resolution, float *temperature, float *humidity) |
Temp&Hum 17 get temperature and humidity function. | |
err_t | temphum17_enter_programming_mode (temphum17_t *ctx) |
Temp&Hum 17 enter programming mode function. | |
err_t | temphum17_enter_measurements_mode (temphum17_t *ctx) |
Temp&Hum 17 enter measurements mode function. | |
err_t | temphum17_set_relative_humidity_resolution (temphum17_t *ctx, uint8_t resolution) |
Temp&Hum 17 set relative humidity resolution function. | |
err_t | temphum17_set_temperature_resolution (temphum17_t *ctx, uint8_t resolution) |
Temp&Hum 17 set temperature resolution function. | |
This file contains API for Temp&Hum 17 Click Driver.