ESPHome 2025.5.0
Loading...
Searching...
No Matches
esphome::bmp3xx_base Namespace Reference

Data Structures

class  BMP3XXComponent
 This class implements support for the BMP3XX Temperature+Pressure sensor. More...
 

Enumerations

enum  {
  BMP388_CHIP_ID = 0x00 , BMP388_ERR_REG = 0x02 , BMP388_STATUS = 0x03 , BMP388_DATA_0 = 0x04 ,
  BMP388_DATA_1 = 0x05 , BMP388_DATA_2 = 0x06 , BMP388_DATA_3 = 0x07 , BMP388_DATA_4 = 0x08 ,
  BMP388_DATA_5 = 0x09 , BMP388_SENSORTIME_0 = 0x0C , BMP388_SENSORTIME_1 = 0x0D , BMP388_SENSORTIME_2 = 0x0E ,
  BMP388_EVENT = 0x10 , BMP388_INT_STATUS = 0x11 , BMP388_INT_CTRL = 0x19 , BMP388_IF_CONFIG = 0x1A ,
  BMP388_PWR_CTRL = 0x1B , BMP388_OSR = 0x1C , BMP388_ODR = 0x1D , BMP388_CONFIG = 0x1F ,
  BMP388_TRIM_PARAMS = 0x31 , BMP388_CMD = 0x7E
}
 BMP388_DEV Registers. More...
 
enum  OperationMode { SLEEP_MODE = 0x00 , FORCED_MODE = 0x01 , NORMAL_MODE = 0x03 }
 Device mode bitfield in the control and measurement register. More...
 
enum  Oversampling {
  OVERSAMPLING_NONE = 0x00 , OVERSAMPLING_X2 = 0x01 , OVERSAMPLING_X4 = 0x02 , OVERSAMPLING_X8 = 0x03 ,
  OVERSAMPLING_X16 = 0x04 , OVERSAMPLING_X32 = 0x05
}
 Oversampling bit fields in the control and measurement register. More...
 
enum  IIRFilter {
  IIR_FILTER_OFF = 0x00 , IIR_FILTER_2 = 0x01 , IIR_FILTER_4 = 0x02 , IIR_FILTER_8 = 0x03 ,
  IIR_FILTER_16 = 0x04 , IIR_FILTER_32 = 0x05 , IIR_FILTER_64 = 0x06 , IIR_FILTER_128 = 0x07
}
 Infinite Impulse Response (IIR) filter bit field in the configuration register. More...
 

Functions

uint8_t oversampling_to_time (Oversampling over_sampling)
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

BMP388_DEV Registers.

Enumerator
BMP388_CHIP_ID 
BMP388_ERR_REG 
BMP388_STATUS 
BMP388_DATA_0 
BMP388_DATA_1 
BMP388_DATA_2 
BMP388_DATA_3 
BMP388_DATA_4 
BMP388_DATA_5 
BMP388_SENSORTIME_0 
BMP388_SENSORTIME_1 
BMP388_SENSORTIME_2 
BMP388_EVENT 
BMP388_INT_STATUS 
BMP388_INT_CTRL 
BMP388_IF_CONFIG 
BMP388_PWR_CTRL 
BMP388_OSR 
BMP388_ODR 
BMP388_CONFIG 
BMP388_TRIM_PARAMS 
BMP388_CMD 

Definition at line 21 of file bmp3xx_base.h.

◆ IIRFilter

Infinite Impulse Response (IIR) filter bit field in the configuration register.

Enumerator
IIR_FILTER_OFF 
IIR_FILTER_2 
IIR_FILTER_4 
IIR_FILTER_8 
IIR_FILTER_16 
IIR_FILTER_32 
IIR_FILTER_64 
IIR_FILTER_128 

Definition at line 60 of file bmp3xx_base.h.

◆ OperationMode

Device mode bitfield in the control and measurement register.

Enumerator
SLEEP_MODE 
FORCED_MODE 
NORMAL_MODE 

Definition at line 47 of file bmp3xx_base.h.

◆ Oversampling

Oversampling bit fields in the control and measurement register.

Enumerator
OVERSAMPLING_NONE 
OVERSAMPLING_X2 
OVERSAMPLING_X4 
OVERSAMPLING_X8 
OVERSAMPLING_X16 
OVERSAMPLING_X32 

Definition at line 50 of file bmp3xx_base.h.

Function Documentation

◆ oversampling_to_time()

uint8_t esphome::bmp3xx_base::oversampling_to_time ( Oversampling over_sampling)
inline

Definition at line 185 of file bmp3xx_base.cpp.