environment
2.0.0.0
|
This file contains API for Environment Click driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_i2c_master.h"
#include "drv_spi_master.h"
Go to the source code of this file.
Data Structures | |
struct | T_ENVIRONMENT_BME680_FIELD_DATA |
struct | T_ENVIRONMENT_BME680_CALIB_DATA |
struct | T_ENVIRONMENT_BME680_TPH_SETTINGS |
struct | T_ENVIRONMENT_BME680_GAS_SETTINGS |
struct | environment_s |
Click ctx object definition. More... | |
struct | environment_cfg_t |
Click configuration structure definition. More... | |
Typedefs | |
typedef uint8_t | environment_select_t |
Communication type. More... | |
typedef void(* | environment_master_io_t) (struct environment_s *, uint8_t, uint8_t *, uint8_t) |
Master Input/Output type. More... | |
typedef struct environment_s | environment_t |
Click ctx object definition. More... | |
Functions | |
void | environment_cfg_setup (environment_cfg_t *cfg) |
Config Object Initialization function. More... | |
ENVIRONMENT_RETVAL | environment_init (environment_t *ctx, environment_cfg_t *cfg) |
Initialization function. More... | |
void | environment_default_cfg (environment_t *ctx) |
Click Default Configuration function. More... | |
void | environment_generic_write (environment_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic write function. More... | |
void | environment_generic_read (environment_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic read function. More... | |
void | environment_write_byte (environment_t *ctx, uint8_t reg_address, uint8_t write_data) |
Generic the write byte of data function. More... | |
uint8_t | environment_read_byte (environment_t *ctx, uint8_t reg_address) |
Generic the read byte of data function. More... | |
uint8_t | environment_check_id (environment_t *ctx) |
Check device ID function. More... | |
uint8_t | environment_get_device_id (environment_t *ctx) |
Get device ID function. More... | |
void | environment_soft_reset (environment_t *ctx) |
Software reset function. More... | |
void | environment_get_calibration_data (environment_t *ctx) |
Get factory calibration parameters function. More... | |
void | environment_default_config (environment_t *ctx) |
Set default configuration for the BMP680 sensor function. More... | |
float | environment_get_ambient_data (environment_t *ctx, uint8_t data_in) |
Get ambient data function. More... | |
float | environment_get_temperature (environment_t *ctx) |
Gets temperature in degrees Celsius function. More... | |
float | environment_get_humidity (environment_t *ctx) |
Gets humidity in percentage [ % ] function. More... | |
float | environment_get_pressure (environment_t *ctx) |
Gets pressure in degrees Celsius function. More... | |
uint32_t | environment_get_gas_resistance (environment_t *ctx) |
Gets gas resistance data function. More... | |
This file contains API for Environment Click driver.