temphum6 2.0.0.0
|
This file contains API for Temp Hum 6 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 | temphum6_t |
Click ctx object definition. More... | |
struct | temphum6_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | temphum6_cfg_setup (temphum6_cfg_t *cfg) |
Config Object Initialization function. | |
TEMPHUM6_RETVAL | temphum6_init (temphum6_t *ctx, temphum6_cfg_t *cfg) |
Initialization function. | |
void | temphum6_generic_write (temphum6_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic write function. | |
void | temphum6_generic_read (temphum6_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic read function. | |
void | temphum6_reset (temphum6_t *ctx) |
Functions for reset device. | |
uint16_t | temphum6_get_part_id (temphum6_t *ctx) |
Functions for get device PART ID. | |
void | temphum6_run (temphum6_t *ctx) |
Functions for RUN measurement. | |
float | temphum6_read_temperature (temphum6_t *ctx, uint8_t temp_in) |
Functions for read Temperature data. | |
float | temphum6_read_relative_huminidy (temphum6_t *ctx) |
Functions for read Relative Huminidy data. | |
This file contains API for Temp Hum 6 Click driver.