![]() |
BME280 and BME680 easyC Library 1.0.0
This is a library for the BME 280 and BME680 easyC board.
|
Go to the source code of this file.
Classes | |
class | BME280_Class |
BME280 Class definition. More... | |
Enumerations | |
enum | modeTypes { SleepMode , ForcedMode , ForcedMode2 , NormalMode , UnknownMode } |
enum | sensorTypes { TemperatureSensor , HumiditySensor , PressureSensor , UnknownSensor } |
enum | oversamplingTypes { SensorOff , Oversample1 , Oversample2 , Oversample4 , Oversample8 , Oversample16 , UnknownOversample } |
enum | iirFilterTypes { IIROff , IIR2 , IIR4 , IIR8 , IIR16 , UnknownIIR } |
enum | inactiveTimeTypes { inactiveHalf , inactive63ms , inactive125ms , inactive250ms , inactive500ms , inactive1000ms , inactive10ms , inactive20ms , UnknownInactive } |
enum | measureTimeTypes { TypicalMeasure , MaximumMeasure , UnknownMeasure } |
Variables | |
const uint32_t | I2C_STANDARD_MODE = 100000 |
Default normal I2C 100KHz speed. | |
const uint32_t | I2C_FAST_MODE = 400000 |
Fast mode. | |
const uint32_t | I2C_FAST_MODE_PLUS_MODE = 1000000 |
Really fast mode. | |
const uint32_t | I2C_HIGH_SPEED_MODE = 3400000 |
Turbo mode. | |
const uint32_t | SPI_HERTZ = 500000 |
SPI speed in Hz. | |
const uint8_t | BME280_CHIPID_REG = 0xD0 |
Chip-Id register. | |
const uint8_t | BME280_CHIPID = 0x60 |
Hard-coded value 0x60 for BME280. | |
const uint8_t | BME280_SOFTRESET_REG = 0xE0 |
Reset when 0xB6 is written here. | |
const uint8_t | BME280_CONTROLHUMID_REG = 0xF2 |
Humidity control register. | |
const uint8_t | BME280_STATUS_REG = 0xF3 |
Device status register. | |
const uint8_t | BME280_CONTROL_REG = 0xF4 |
Device control register. | |
const uint8_t | BME280_CONFIG_REG = 0xF5 |
Device configuration register. | |
const uint8_t | BME280_PRESSUREDATA_REG = 0xF7 |
Pressure readings register. | |
const uint8_t | BME280_TEMPDATA_REG = 0xFA |
Temperature readings register. | |
const uint8_t | BME280_HUMIDDATA_REG = 0xFD |
Humidity readings register. | |
const uint8_t | BME280_SOFTWARE_CODE = 0xB6 |
Reset on this written to resetreg. | |
const uint8_t | BME280_T1_REG = 0x88 |
Declare BME280 registers for the. | |
const uint8_t | BME280_T2_REG = 0x8A |
calibration data register | |
const uint8_t | BME280_T3_REG = 0x8C |
calibration data register | |
const uint8_t | BME280_P1_REG = 0x8E |
calibration data register | |
const uint8_t | BME280_P2_REG = 0x90 |
calibration data register | |
const uint8_t | BME280_P3_REG = 0x92 |
calibration data register | |
const uint8_t | BME280_P4_REG = 0x94 |
calibration data register | |
const uint8_t | BME280_P5_REG = 0x96 |
calibration data register | |
const uint8_t | BME280_P6_REG = 0x98 |
calibration data register | |
const uint8_t | BME280_P7_REG = 0x9A |
calibration data register | |
const uint8_t | BME280_P8_REG = 0x9C |
calibration data register | |
const uint8_t | BME280_P9_REG = 0x9E |
calibration data register | |
const uint8_t | BME280_H1_REG = 0xA1 |
calibration data register | |
const uint8_t | BME280_H2_REG = 0xE1 |
calibration data register | |
const uint8_t | BME280_H3_REG = 0xE3 |
calibration data register | |
const uint8_t | BME280_H4_REG = 0xE4 |
calibration data register | |
const uint8_t | BME280_H5_REG = 0xE5 |
calibration data register | |
const uint8_t | BME280_H6_REG = 0xE7 |
calibration data register | |
enum iirFilterTypes |
enum inactiveTimeTypes |
enum measureTimeTypes |
enum modeTypes |
enum oversamplingTypes |
enum sensorTypes |
const uint8_t BME280_CHIPID = 0x60 |
Hard-coded value 0x60 for BME280.
const uint8_t BME280_CHIPID_REG = 0xD0 |
Chip-Id register.
const uint8_t BME280_CONFIG_REG = 0xF5 |
Device configuration register.
const uint8_t BME280_CONTROL_REG = 0xF4 |
Device control register.
const uint8_t BME280_CONTROLHUMID_REG = 0xF2 |
Humidity control register.
const uint8_t BME280_H1_REG = 0xA1 |
calibration data register
const uint8_t BME280_H2_REG = 0xE1 |
calibration data register
const uint8_t BME280_H3_REG = 0xE3 |
calibration data register
const uint8_t BME280_H4_REG = 0xE4 |
calibration data register
const uint8_t BME280_H5_REG = 0xE5 |
calibration data register
const uint8_t BME280_H6_REG = 0xE7 |
calibration data register
const uint8_t BME280_HUMIDDATA_REG = 0xFD |
Humidity readings register.
const uint8_t BME280_P1_REG = 0x8E |
calibration data register
const uint8_t BME280_P2_REG = 0x90 |
calibration data register
const uint8_t BME280_P3_REG = 0x92 |
calibration data register
const uint8_t BME280_P4_REG = 0x94 |
calibration data register
const uint8_t BME280_P5_REG = 0x96 |
calibration data register
const uint8_t BME280_P6_REG = 0x98 |
calibration data register
const uint8_t BME280_P7_REG = 0x9A |
calibration data register
const uint8_t BME280_P8_REG = 0x9C |
calibration data register
const uint8_t BME280_P9_REG = 0x9E |
calibration data register
const uint8_t BME280_PRESSUREDATA_REG = 0xF7 |
Pressure readings register.
const uint8_t BME280_SOFTRESET_REG = 0xE0 |
Reset when 0xB6 is written here.
const uint8_t BME280_SOFTWARE_CODE = 0xB6 |
Reset on this written to resetreg.
const uint8_t BME280_STATUS_REG = 0xF3 |
Device status register.
const uint8_t BME280_T1_REG = 0x88 |
Declare BME280 registers for the.
const uint8_t BME280_T2_REG = 0x8A |
calibration data register
const uint8_t BME280_T3_REG = 0x8C |
calibration data register
const uint8_t BME280_TEMPDATA_REG = 0xFA |
Temperature readings register.
const uint32_t I2C_FAST_MODE = 400000 |
Fast mode.
const uint32_t I2C_FAST_MODE_PLUS_MODE = 1000000 |
Really fast mode.
const uint32_t I2C_HIGH_SPEED_MODE = 3400000 |
Turbo mode.
const uint32_t I2C_STANDARD_MODE = 100000 |
Default normal I2C 100KHz speed.
const uint32_t SPI_HERTZ = 500000 |
SPI speed in Hz.