Manuel Caballero / BME680

Dependents:   MERGE Sensor_iAQ_sgp30_bme_si7051 POCBreath_V2_smd_commercial

Embed: (wiki syntax)

« Back to documentation index

SENSOR API

SENSOR API

Data Structures

class  BME680
 Example: More...
struct  bme680_field_data
 Sensor field data structure. More...
struct  bme680_calib_data
 Structure to hold the Calibration data. More...
struct  bme680_tph_sett
 BME680 sensor settings structure which comprises of ODR, over-sampling and filter settings. More...
struct  bme680_gas_sett
 BME680 gas sensor which comprises of gas settings and status parameters. More...
struct  bme680_dev
 BME680 device structure. More...

C standard macros

enum  bme680_intf { BME680_SPI_INTF, BME680_I2C_INTF }
 

Interface selection Enumerations.

More...
typedef int8_t(* bme680_com_fptr_t )(uint8_t dev_id, uint8_t reg_addr, uint8_t *data, uint16_t len)
 Type definitions.
typedef void(* bme680_delay_fptr_t )(uint32_t period)

Typedef Documentation

typedef int8_t(* bme680_com_fptr_t)(uint8_t dev_id, uint8_t reg_addr, uint8_t *data, uint16_t len)

Type definitions.

Generic communication function pointer

Parameters:
[in]dev_id,:Place holder to store the id of the device structure Can be used to store the index of the Chip select or I2C address of the device.
[in]reg_addr,:Used to select the register the where data needs to be read from or written to.
in/out]reg_data: Data array to read/write
[in]len,:Length of the data array

Definition at line 391 of file bme680_defs.h.

typedef void(* bme680_delay_fptr_t)(uint32_t period)

Delay function pointer

Parameters:
[in]period,:Time period in milliseconds

Definition at line 397 of file bme680_defs.h.


Enumeration Type Documentation

Interface selection Enumerations.

Enumerator:
BME680_SPI_INTF 

SPI interface

BME680_I2C_INTF 

I2C interface

Definition at line 402 of file bme680_defs.h.