ESPHome  2024.11.2
Data Structures | Enumerations
esphome::mpl3115a2 Namespace Reference

Data Structures

class  MPL3115A2Component
 

Enumerations

enum  {
  MPL3115A2_REGISTER_STATUS = (0x00), MPL3115A2_REGISTER_PRESSURE_MSB = (0x01), MPL3115A2_REGISTER_PRESSURE_CSB = (0x02), MPL3115A2_REGISTER_PRESSURE_LSB = (0x03),
  MPL3115A2_REGISTER_TEMP_MSB = (0x04), MPL3115A2_REGISTER_TEMP_LSB = (0x05), MPL3115A2_REGISTER_DR_STATUS = (0x06), MPL3115A2_OUT_P_DELTA_MSB = (0x07),
  MPL3115A2_OUT_P_DELTA_CSB = (0x08), MPL3115A2_OUT_P_DELTA_LSB = (0x09), MPL3115A2_OUT_T_DELTA_MSB = (0x0A), MPL3115A2_OUT_T_DELTA_LSB = (0x0B),
  MPL3115A2_WHOAMI = (0x0C), MPL3115A2_BAR_IN_MSB = (0x14), MPL3115A2_BAR_IN_LSB = (0x15)
}
 MPL3115A2 registers. More...
 
enum  { MPL3115A2_REGISTER_STATUS_TDR = 0x02, MPL3115A2_REGISTER_STATUS_PDR = 0x04, MPL3115A2_REGISTER_STATUS_PTDR = 0x08 }
 MPL3115A2 status register bits. More...
 
enum  { MPL3115A2_PT_DATA_CFG = 0x13, MPL3115A2_PT_DATA_CFG_TDEFE = 0x01, MPL3115A2_PT_DATA_CFG_PDEFE = 0x02, MPL3115A2_PT_DATA_CFG_DREM = 0x04 }
 MPL3115A2 PT DATA register bits. More...
 
enum  {
  MPL3115A2_CTRL_REG1 = (0x26), MPL3115A2_CTRL_REG2 = (0x27), MPL3115A2_CTRL_REG3 = (0x28), MPL3115A2_CTRL_REG4 = (0x29),
  MPL3115A2_CTRL_REG5 = (0x2A)
}
 MPL3115A2 control registers. More...
 
enum  {
  MPL3115A2_CTRL_REG1_SBYB = 0x01, MPL3115A2_CTRL_REG1_OST = 0x02, MPL3115A2_CTRL_REG1_RST = 0x04, MPL3115A2_CTRL_REG1_RAW = 0x40,
  MPL3115A2_CTRL_REG1_ALT = 0x80, MPL3115A2_CTRL_REG1_BAR = 0x00
}
 MPL3115A2 control register bits. More...
 
enum  {
  MPL3115A2_CTRL_REG1_OS1 = 0x00, MPL3115A2_CTRL_REG1_OS2 = 0x08, MPL3115A2_CTRL_REG1_OS4 = 0x10, MPL3115A2_CTRL_REG1_OS8 = 0x18,
  MPL3115A2_CTRL_REG1_OS16 = 0x20, MPL3115A2_CTRL_REG1_OS32 = 0x28, MPL3115A2_CTRL_REG1_OS64 = 0x30, MPL3115A2_CTRL_REG1_OS128 = 0x38
}
 MPL3115A2 oversample values. More...
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

MPL3115A2 registers.

Enumerator
MPL3115A2_REGISTER_STATUS 
MPL3115A2_REGISTER_PRESSURE_MSB 
MPL3115A2_REGISTER_PRESSURE_CSB 
MPL3115A2_REGISTER_PRESSURE_LSB 
MPL3115A2_REGISTER_TEMP_MSB 
MPL3115A2_REGISTER_TEMP_LSB 
MPL3115A2_REGISTER_DR_STATUS 
MPL3115A2_OUT_P_DELTA_MSB 
MPL3115A2_OUT_P_DELTA_CSB 
MPL3115A2_OUT_P_DELTA_LSB 
MPL3115A2_OUT_T_DELTA_MSB 
MPL3115A2_OUT_T_DELTA_LSB 
MPL3115A2_WHOAMI 
MPL3115A2_BAR_IN_MSB 
MPL3115A2_BAR_IN_LSB 

Definition at line 12 of file mpl3115a2.h.

◆ anonymous enum

anonymous enum

MPL3115A2 status register bits.

Enumerator
MPL3115A2_REGISTER_STATUS_TDR 
MPL3115A2_REGISTER_STATUS_PDR 
MPL3115A2_REGISTER_STATUS_PTDR 

Definition at line 38 of file mpl3115a2.h.

◆ anonymous enum

anonymous enum

MPL3115A2 PT DATA register bits.

Enumerator
MPL3115A2_PT_DATA_CFG 
MPL3115A2_PT_DATA_CFG_TDEFE 
MPL3115A2_PT_DATA_CFG_PDEFE 
MPL3115A2_PT_DATA_CFG_DREM 

Definition at line 45 of file mpl3115a2.h.

◆ anonymous enum

anonymous enum

MPL3115A2 control registers.

Enumerator
MPL3115A2_CTRL_REG1 
MPL3115A2_CTRL_REG2 
MPL3115A2_CTRL_REG3 
MPL3115A2_CTRL_REG4 
MPL3115A2_CTRL_REG5 

Definition at line 53 of file mpl3115a2.h.

◆ anonymous enum

anonymous enum

MPL3115A2 control register bits.

Enumerator
MPL3115A2_CTRL_REG1_SBYB 
MPL3115A2_CTRL_REG1_OST 
MPL3115A2_CTRL_REG1_RST 
MPL3115A2_CTRL_REG1_RAW 
MPL3115A2_CTRL_REG1_ALT 
MPL3115A2_CTRL_REG1_BAR 

Definition at line 63 of file mpl3115a2.h.

◆ anonymous enum

anonymous enum

MPL3115A2 oversample values.

Enumerator
MPL3115A2_CTRL_REG1_OS1 
MPL3115A2_CTRL_REG1_OS2 
MPL3115A2_CTRL_REG1_OS4 
MPL3115A2_CTRL_REG1_OS8 
MPL3115A2_CTRL_REG1_OS16 
MPL3115A2_CTRL_REG1_OS32 
MPL3115A2_CTRL_REG1_OS64 
MPL3115A2_CTRL_REG1_OS128 

Definition at line 73 of file mpl3115a2.h.