temphum19 2.0.0.0
|
This file contains API for TempHum 19 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 | temphum19_t |
TempHum 19 Click context object. More... | |
struct | temphum19_cfg_t |
TempHum 19 Click configuration object. More... | |
Enumerations | |
enum | temphum19_return_value_t { TEMPHUM19_OK = 0 , TEMPHUM19_ERROR = -1 } |
TempHum 19 Click return value data. More... | |
Functions | |
void | temphum19_cfg_setup (temphum19_cfg_t *cfg) |
TempHum 19 configuration object setup function. | |
err_t | temphum19_init (temphum19_t *ctx, temphum19_cfg_t *cfg) |
TempHum 19 initialization function. | |
err_t | temphum19_default_cfg (temphum19_t *ctx) |
TempHum 19 default configuration function. | |
err_t | temphum19_generic_write (temphum19_t *ctx, uint8_t reg, uint8_t *tx_buf, uint8_t tx_len) |
TempHum 19 I2C writing function. | |
err_t | temphum19_generic_read (temphum19_t *ctx, uint8_t reg, uint8_t *rx_buf, uint8_t rx_len) |
TempHum 19 I2C reading function. | |
void | temphum19_enable_chip (temphum19_t *ctx) |
TempHum 19 enable chip function. | |
void | temphum19_disable_chip (temphum19_t *ctx) |
TempHum 19 disable chip function. | |
void | temphum19_restart_chip (temphum19_t *ctx) |
TempHum 19 restart chip function. | |
err_t | temphum19_set_mode_reg (temphum19_t *ctx, uint8_t mode) |
TempHum 19 set mode function. | |
err_t | temphum19_read_data (temphum19_t *ctx, float *temperature, float *humidity) |
TempHum 19 read data function. | |
This file contains API for TempHum 19 Click Driver.