Qwiic_BMP581_Py  2.0.0-1-g4ecbd9a
Python for SFE Qwiic BMP581
Loading...
Searching...
No Matches
qwiic_bmp581.QwiicBMP581 Class Reference
Inheritance diagram for qwiic_bmp581.QwiicBMP581:

Public Member Functions

def __init__ (self, address=None, i2c_driver=None)
 Constructor. More...
 
def is_connected (self)
 Determines if this device is connected. More...
 
def begin (self)
 Initializes this device with default parameters. More...
 
def enable_press (self, enable)
 Enables or disables the pressure sensor. More...
 
def set_odr_frequency (self, odr)
 Sets the output data rate of the sensor. More...
 
def set_osr_multipliers (self, config)
 Set the temperature and pressure oversampling multipliers. More...
 
def soft_reset (self)
 This API performs the soft reset of the sensor. More...
 
def get_osr_odr_press_config (self)
 Gets the current oversampling and output data rate configuration. More...
 
def set_osr_odr_press_config (self)
 This API sets the configuration for oversampling temperature, oversampling of pressure and ODR configuration along with pressure enable. More...
 
def get_iir_config (self)
 Gets the current IIR configuration. More...
 
def get_power_mode (self)
 Gets the current power mode of the device. More...
 
def set_power_mode (self, powerMode)
 Sets the power mode of the device. More...
 
def get_sensor_data (self)
 This API reads the temperature(deg C) or both pressure(Pa) and temperature(deg C) data from the sensor and store it in the bmp5_sensor_data structure instance passed by the user. More...
 
def get_osr_odr_eff (self)
 This API reads the effective oversampling and output data rate configuration from the sensor. More...
 
def set_iir_config (self, config)
 This API sets the configuration for IIR of temperature and pressure. More...
 
def set_oor_configuration (self, config)
 This API sets the configuration for out-of-range pressure threshold, range count limit and IIR. More...
 
def configure_interrupt (self, intMode, intPol, intOd, intEn)
 This API is used to configure the interrupt settings. More...
 
def int_source_select (self, select)
 This API is used to enable the interrupts(drdy interrupt, fifo full interrupt, fifo threshold enable and pressure data out of range interrupt). More...
 
def get_interrupt_status (self)
 This API is used to get interrupt status. More...
 
def set_fifo_configuration (self, fifo)
 This API used to set the configurations of fifo in the sensor. More...
 
def get_fifo_len (self, fifo)
 This API is used to get the length of FIFO data available in the sensor. More...
 
def get_fifo_data (self, fifo)
 This API is used to read the FIFO data from the sensor. More...
 
def extract_fifo_data (self, fifo, sensorData)
 This API extract the temperature and/or pressure data from the fifo data which is already read from the fifo. More...
 
def nvm_read (self, nvmAddr)
 This API is used to perform NVM reads. More...
 
def nvm_write (self, nvmAddr, nvmWriteData)
 

Public Attributes

 address
 
 osrOdrConfig
 
 fifo
 

Static Public Attributes

 device_name = _DEFAULT_NAME
 
 available_addresses = _AVAILABLE_I2C_ADDRESS
 
int kRegChipId = 0x01
 
int kRegRevId = 0x02
 
int kRegChipStatus = 0x11
 
int kRegDriveConfig = 0x13
 
int kRegIntConfig = 0x14
 
int kRegIntSource = 0x15
 
int kRegFifoConfig = 0x16
 
int kRegFifoCount = 0x17
 
int kRegFifoSel = 0x18
 
int kRegTempDataXlsb = 0x1D
 
int kRegTempDataLsb = 0x1E
 
int kRegTempDataMsb = 0x1F
 
int kRegPressDataXlsb = 0x20
 
int kRegPressDataLsb = 0x21
 
int kRegPressDataMsb = 0x22
 
int kRegIntStatus = 0x27
 
int kRegStatus = 0x28
 
int kRegFifoData = 0x29
 
int kRegNvmAddr = 0x2B
 
int kRegNvmDataLsb = 0x2C
 
int kRegNvmDataMsb = 0x2D
 
int kRegDspConfig = 0x30
 
int kRegDspIir = 0x31
 
int kRegOorThrPLsb = 0x32
 
int kRegOorThrPMsb = 0x33
 
int kRegOorRange = 0x34
 
int kRegOorConfig = 0x35
 
int kRegOsrConfig = 0x36
 
int kRegOdrConfig = 0x37
 
int kRegOsrEff = 0x38
 
int kRegCmd = 0x7E
 
int kPowerModeStandby = 0
 
int kPowerModeNormal = 1
 
int kPowerModeForced = 2
 
int kPowerModeContinuous = 3
 
int kPowerModeDeepStandby = 4
 
int kIntModeMask = 0x01
 
int kIntModeShift = 0
 
int kIntPolMask = 0x02
 
int kIntPolShift = 1
 
int kIntOdMask = 0x04
 
int kIntOdShift = 2
 
int kIntEnMask = 0x08
 
int kIntEnShift = 3
 
int kIntDrdyEnMask = 0x01
 
int kIntDrdyEnShift = 0
 
int kIntFifoFullEnMask = 0x02
 
int kIntFifoFullEnShift = 1
 
int kIntFifoThresEnMask = 0x04
 
int kIntFifoThresEnShift = 2
 
int kIntOorPressEnMask = 0x08
 
int kIntOorPressEnShift = 3
 
int kOdrMask = 0x7C
 
int kOdrShift = 2
 
int kTempOsMask = 0x07
 
int kTempOsShift = 0
 
int kPressOsMask = 0x38
 
int kPressOsShift = 3
 
int kPressEnMask = 0x40
 
int kPressEnShift = 6
 
int kSetIirTempMask = 0x07
 
int kSetIirTempShift = 0
 
int kSetIirPressMask = 0x38
 
int kSetIirPressShift = 3
 
int kOorSelIirPressMask = 0x80
 
int kOorSelIirPressShift = 7
 
int kShdwSetIirTempMask = 0x08
 
int kShdwSetIirTempShift = 3
 
int kShdwSetIirPressMask = 0x20
 
int kShdwSetIirPressShift = 5
 
int kSetFifoIirTempMask = 0x10
 
int kSetFifoIirTempShift = 4
 
int kSetFifoIirPressMask = 0x40
 
int kSetFifoIirPressShift = 6
 
int kIirFlushForcedEnMask = 0x04
 
int kIirFlushForcedEnShift = 2
 
int kOsrTempEffMask = 0x07
 
int kOsrTempEffShift = 0
 
int kOsrPressEffMask = 0x38
 
int kOsrPressEffShift = 3
 
int kOdrIsValidMask = 0x80
 
int kOdrIsValidShift = 7
 
int kPowermodeMask = 0x03
 
int kPowermodeShift = 0
 
int kDeepDisableMask = 0x80
 
int kDeepDisableShift = 7
 
int kFifoThresholdMask = 0x1F
 
int kFifoThresholdShift = 0
 
int kFifoModeMask = 0x20
 
int kFifoModeShift = 5
 
int kFifoDecSelMask = 0x1C
 
int kFifoDecSelShift = 2
 
int kFifoCountMask = 0x3F
 
int kFifoCountShift = 0
 
int kFifoFrameSelMask = 0x03
 
int kFifoFrameSelShift = 0
 
int kOorThrPLsbMask = 0x0000FF
 
int kOorThrPLsbShift = 0
 
int kOorThrPMsbMask = 0x00FF00
 
int kOorThrPMsbShift = 0
 
int kOorThrPXmsbMask = 0x010000
 
int kOorThrPXmsbShift = 16
 
int kOorThrPXmsbRegMask = 0x01
 
int kOorThrPXmsbRegShift = 0
 
int kOorCountLimitMask = 0xC0
 
int kOorCountLimitShift = 6
 
int kNvmAddrMask = 0x3F
 
int kNvmAddrShift = 0
 
int kNvmProgEnMask = 0x40
 
int kNvmProgEnShift = 6
 
int kNvmDataLsbMask = 0x00FF
 
int kNvmDataLsbShift = 0
 
int kNvmDataMsbMask = 0xFF00
 
int kNvmDataMsbShift = 0
 
int kDelayUsSoftReset = 2000
 
int kDelayUsStandby = 2500
 
int kDelayUsNvmReadyRead = 800
 
int kDelayUsNvmReadyWrite = 10000
 
int kSoftResetCmd = 0xB6
 
int kNvmFirstCmd = 0x5D
 
int kNvmReadEnableCmd = 0xA5
 
int kNvmWriteEnableCmd = 0xA0
 
int kDeepEnabled = 0
 
int kDeepDisabled = 1
 
int kEnable = 1
 
int kDisable = 0
 
int kError = -1
 
int kNoError = 0
 
int kOdr240Hz = 0x00
 
int kOdr218_5Hz = 0x01
 
int kOdr199_1Hz = 0x02
 
int kOdr179_2Hz = 0x03
 
int kOdr160Hz = 0x04
 
int kOdr149_3Hz = 0x05
 
int kOdr140Hz = 0x06
 
int kOdr129_8Hz = 0x07
 
int kOdr120Hz = 0x08
 
int kOdr110_1Hz = 0x09
 
int kOdr100_2Hz = 0x0A
 
int kOdr89_6Hz = 0x0B
 
int kOdr80Hz = 0x0C
 
int kOdr70Hz = 0x0D
 
int kOdr60Hz = 0x0E
 
int kOdr50Hz = 0x0F
 
int kOdr45Hz = 0x10
 
int kOdr40Hz = 0x11
 
int kOdr35Hz = 0x12
 
int kOdr30Hz = 0x13
 
int kOdr25Hz = 0x14
 
int kOdr20Hz = 0x15
 
int kOdr15Hz = 0x16
 
int kOdr10Hz = 0x17
 
int kOdr05Hz = 0x18
 
int kOdr04Hz = 0x19
 
int kOdr03Hz = 0x1A
 
int kOdr02Hz = 0x1B
 
int kOdr01Hz = 0x1C
 
int kOdr0_5Hz = 0x1D
 
int kOdr0_250Hz = 0x1E
 
int kOdr0_125Hz = 0x1F
 
int kFifoEmpty = 0x7F
 
int kFifoMaxThresholdPTMode = 0x0F
 
int kFifoMaxThresholdPMode = 0x1F
 
int kIirBypass = 0xC0
 
int kIntModePulsed = 0
 
int kIntModeLatched = 1
 
int kIntPolActiveLow = 0
 
int kIntPolActiveHigh = 1
 
int kIntOdPushPull = 0
 
int kIntOdOpenDrain = 1
 
int kIntAssertedDrdy = 0x01
 
int kIntAssertedFifoFull = 0x02
 
int kIntAssertedFifoThres = 0x04
 
int kIntAssertedPressureOor = 0x08
 
int kIntAssertedPorSoftresetComplete = 0x10
 
int kIntNvmRdy = 0x02
 
int kIntNvmErr = 0x04
 
int kIntNvmCmdErr = 0x08
 
int kNvmStartAddr = 0x20
 
int kNvmEndAddr = 0x22
 
int kChipId = 0x50
 

Properties

 connected = property(is_connected)
 

Constructor & Destructor Documentation

◆ __init__()

def qwiic_bmp581.QwiicBMP581.__init__ (   self,
  address = None,
  i2c_driver = None 
)

Constructor.

Parameters
int,optionaladdress: The I2C address to use for the device If not provided, the default address is used
I2CDriver,optionali2c_driver: An existing i2c driver object If not provided, a driver object is created

Member Function Documentation

◆ begin()

def qwiic_bmp581.QwiicBMP581.begin (   self)

Initializes this device with default parameters.

Returns
bool Returns True if successful, otherwise False

◆ configure_interrupt()

def qwiic_bmp581.QwiicBMP581.configure_interrupt (   self,
  intMode,
  intPol,
  intOd,
  intEn 
)

This API is used to configure the interrupt settings.

Parameters
intintMode: The interrupt mode to set

Allowable values:

  • kIntModePulsed
  • kIntModeLatched
    Parameters
    intintPol: The interrupt polarity to set
    Allowable values:
  • kIntPolActiveLow
  • kIntPolActiveHigh
    Parameters
    intintOd: The interrupt output type to set
    Allowable values:
  • kIntOdPushPull
  • kIntOdOpenDrain
    Parameters
    intintEn: The interrupt enable to set
    Allowable values:
  • kEnable
  • kDisable

◆ enable_press()

def qwiic_bmp581.QwiicBMP581.enable_press (   self,
  enable 
)

Enables or disables the pressure sensor.

Parameters
intenable: The value to set

Allowable values:

  • kEnable
  • kDisable

◆ extract_fifo_data()

def qwiic_bmp581.QwiicBMP581.extract_fifo_data (   self,
  fifo,
  sensorData 
)

This API extract the temperature and/or pressure data from the fifo data which is already read from the fifo.

◆ get_fifo_data()

def qwiic_bmp581.QwiicBMP581.get_fifo_data (   self,
  fifo 
)

This API is used to read the FIFO data from the sensor.

Parameters
FifoConfigurationfifo: The fifo configuration

◆ get_fifo_len()

def qwiic_bmp581.QwiicBMP581.get_fifo_len (   self,
  fifo 
)

This API is used to get the length of FIFO data available in the sensor.

Parameters
FifoConfigurationfifo: The fifo configuration

◆ get_iir_config()

def qwiic_bmp581.QwiicBMP581.get_iir_config (   self)

Gets the current IIR configuration.

Returns
IirConfig The current IIR configuration

◆ get_interrupt_status()

def qwiic_bmp581.QwiicBMP581.get_interrupt_status (   self)

This API is used to get interrupt status.

◆ get_osr_odr_eff()

def qwiic_bmp581.QwiicBMP581.get_osr_odr_eff (   self)

This API reads the effective oversampling and output data rate configuration from the sensor.

Returns
OsrOdrEff The effective oversampling and output data rate configuration

◆ get_osr_odr_press_config()

def qwiic_bmp581.QwiicBMP581.get_osr_odr_press_config (   self)

Gets the current oversampling and output data rate configuration.

Returns
OsrOdrPressConfig The current oversampling and output data rate configuration

◆ get_power_mode()

def qwiic_bmp581.QwiicBMP581.get_power_mode (   self)

Gets the current power mode of the device.

Returns
int The current power mode or -1 on error

◆ get_sensor_data()

def qwiic_bmp581.QwiicBMP581.get_sensor_data (   self)

This API reads the temperature(deg C) or both pressure(Pa) and temperature(deg C) data from the sensor and store it in the bmp5_sensor_data structure instance passed by the user.

Returns
SensorData The sensor data

◆ int_source_select()

def qwiic_bmp581.QwiicBMP581.int_source_select (   self,
  select 
)

This API is used to enable the interrupts(drdy interrupt, fifo full interrupt, fifo threshold enable and pressure data out of range interrupt).

Parameters
intSourceSelectselect: The interrupt source select to set

◆ is_connected()

def qwiic_bmp581.QwiicBMP581.is_connected (   self)

Determines if this device is connected.

Returns
bool True if connected, otherwise False

◆ nvm_read()

def qwiic_bmp581.QwiicBMP581.nvm_read (   self,
  nvmAddr 
)

This API is used to perform NVM reads.

Parameters
intnvmAddr: The NVM address to read

◆ nvm_write()

def qwiic_bmp581.QwiicBMP581.nvm_write (   self,
  nvmAddr,
  nvmWriteData 
)

◆ set_fifo_configuration()

def qwiic_bmp581.QwiicBMP581.set_fifo_configuration (   self,
  fifo 
)

This API used to set the configurations of fifo in the sensor.

If Fifo frame selection is enabled then powermode is set as standby mode, as fifo frame selection enabled without disabling deep-standby mode makes powermode invalid.

◆ set_iir_config()

def qwiic_bmp581.QwiicBMP581.set_iir_config (   self,
  config 
)

This API sets the configuration for IIR of temperature and pressure.

If IIR value for both temperature and pressure is set a value other than bypass then powermode is set as standby mode, as IIR with value other than bypass without disabling deep-standby mode makes powermode invalid.

◆ set_odr_frequency()

def qwiic_bmp581.QwiicBMP581.set_odr_frequency (   self,
  odr 
)

Sets the output data rate of the sensor.

Parameters
intodr: The output data rate to set

◆ set_oor_configuration()

def qwiic_bmp581.QwiicBMP581.set_oor_configuration (   self,
  config 
)

This API sets the configuration for out-of-range pressure threshold, range count limit and IIR.

Parameters
OorPressConfigurationconfig: The configuration to set

◆ set_osr_multipliers()

def qwiic_bmp581.QwiicBMP581.set_osr_multipliers (   self,
  config 
)

Set the temperature and pressure oversampling multipliers.

Parameters
OsrOdrPressConfigconfig: The configuration to set

◆ set_osr_odr_press_config()

def qwiic_bmp581.QwiicBMP581.set_osr_odr_press_config (   self)

This API sets the configuration for oversampling temperature, oversampling of pressure and ODR configuration along with pressure enable.

NOTE: If ODR is set to a value higher than 5Hz then powermode is set as standby mode, as ODR value greater than 5HZ without disabling deep-standby mode makes powermode invalid.

◆ set_power_mode()

def qwiic_bmp581.QwiicBMP581.set_power_mode (   self,
  powerMode 
)

Sets the power mode of the device.

Parameters
intpowerMode: The power mode to set

Allowable powerMode values:

  • kPowerModeStandby
  • kPowerModeNormal
  • kPowerModeForced
  • kPowerModeContinuous
  • kPowerModeDeepStandby

◆ soft_reset()

def qwiic_bmp581.QwiicBMP581.soft_reset (   self)

This API performs the soft reset of the sensor.

Member Data Documentation

◆ address

qwiic_bmp581.QwiicBMP581.address

◆ available_addresses

qwiic_bmp581.QwiicBMP581.available_addresses = _AVAILABLE_I2C_ADDRESS
static

◆ device_name

qwiic_bmp581.QwiicBMP581.device_name = _DEFAULT_NAME
static

◆ fifo

qwiic_bmp581.QwiicBMP581.fifo

◆ kChipId

int qwiic_bmp581.QwiicBMP581.kChipId = 0x50
static

◆ kDeepDisabled

int qwiic_bmp581.QwiicBMP581.kDeepDisabled = 1
static

◆ kDeepDisableMask

int qwiic_bmp581.QwiicBMP581.kDeepDisableMask = 0x80
static

◆ kDeepDisableShift

int qwiic_bmp581.QwiicBMP581.kDeepDisableShift = 7
static

◆ kDeepEnabled

int qwiic_bmp581.QwiicBMP581.kDeepEnabled = 0
static

◆ kDelayUsNvmReadyRead

int qwiic_bmp581.QwiicBMP581.kDelayUsNvmReadyRead = 800
static

◆ kDelayUsNvmReadyWrite

int qwiic_bmp581.QwiicBMP581.kDelayUsNvmReadyWrite = 10000
static

◆ kDelayUsSoftReset

int qwiic_bmp581.QwiicBMP581.kDelayUsSoftReset = 2000
static

◆ kDelayUsStandby

int qwiic_bmp581.QwiicBMP581.kDelayUsStandby = 2500
static

◆ kDisable

int qwiic_bmp581.QwiicBMP581.kDisable = 0
static

◆ kEnable

int qwiic_bmp581.QwiicBMP581.kEnable = 1
static

◆ kError

int qwiic_bmp581.QwiicBMP581.kError = -1
static

◆ kFifoCountMask

int qwiic_bmp581.QwiicBMP581.kFifoCountMask = 0x3F
static

◆ kFifoCountShift

int qwiic_bmp581.QwiicBMP581.kFifoCountShift = 0
static

◆ kFifoDecSelMask

int qwiic_bmp581.QwiicBMP581.kFifoDecSelMask = 0x1C
static

◆ kFifoDecSelShift

int qwiic_bmp581.QwiicBMP581.kFifoDecSelShift = 2
static

◆ kFifoEmpty

int qwiic_bmp581.QwiicBMP581.kFifoEmpty = 0x7F
static

◆ kFifoFrameSelMask

int qwiic_bmp581.QwiicBMP581.kFifoFrameSelMask = 0x03
static

◆ kFifoFrameSelShift

int qwiic_bmp581.QwiicBMP581.kFifoFrameSelShift = 0
static

◆ kFifoMaxThresholdPMode

int qwiic_bmp581.QwiicBMP581.kFifoMaxThresholdPMode = 0x1F
static

◆ kFifoMaxThresholdPTMode

int qwiic_bmp581.QwiicBMP581.kFifoMaxThresholdPTMode = 0x0F
static

◆ kFifoModeMask

int qwiic_bmp581.QwiicBMP581.kFifoModeMask = 0x20
static

◆ kFifoModeShift

int qwiic_bmp581.QwiicBMP581.kFifoModeShift = 5
static

◆ kFifoThresholdMask

int qwiic_bmp581.QwiicBMP581.kFifoThresholdMask = 0x1F
static

◆ kFifoThresholdShift

int qwiic_bmp581.QwiicBMP581.kFifoThresholdShift = 0
static

◆ kIirBypass

int qwiic_bmp581.QwiicBMP581.kIirBypass = 0xC0
static

◆ kIirFlushForcedEnMask

int qwiic_bmp581.QwiicBMP581.kIirFlushForcedEnMask = 0x04
static

◆ kIirFlushForcedEnShift

int qwiic_bmp581.QwiicBMP581.kIirFlushForcedEnShift = 2
static

◆ kIntAssertedDrdy

int qwiic_bmp581.QwiicBMP581.kIntAssertedDrdy = 0x01
static

◆ kIntAssertedFifoFull

int qwiic_bmp581.QwiicBMP581.kIntAssertedFifoFull = 0x02
static

◆ kIntAssertedFifoThres

int qwiic_bmp581.QwiicBMP581.kIntAssertedFifoThres = 0x04
static

◆ kIntAssertedPorSoftresetComplete

int qwiic_bmp581.QwiicBMP581.kIntAssertedPorSoftresetComplete = 0x10
static

◆ kIntAssertedPressureOor

int qwiic_bmp581.QwiicBMP581.kIntAssertedPressureOor = 0x08
static

◆ kIntDrdyEnMask

int qwiic_bmp581.QwiicBMP581.kIntDrdyEnMask = 0x01
static

◆ kIntDrdyEnShift

int qwiic_bmp581.QwiicBMP581.kIntDrdyEnShift = 0
static

◆ kIntEnMask

int qwiic_bmp581.QwiicBMP581.kIntEnMask = 0x08
static

◆ kIntEnShift

int qwiic_bmp581.QwiicBMP581.kIntEnShift = 3
static

◆ kIntFifoFullEnMask

int qwiic_bmp581.QwiicBMP581.kIntFifoFullEnMask = 0x02
static

◆ kIntFifoFullEnShift

int qwiic_bmp581.QwiicBMP581.kIntFifoFullEnShift = 1
static

◆ kIntFifoThresEnMask

int qwiic_bmp581.QwiicBMP581.kIntFifoThresEnMask = 0x04
static

◆ kIntFifoThresEnShift

int qwiic_bmp581.QwiicBMP581.kIntFifoThresEnShift = 2
static

◆ kIntModeLatched

int qwiic_bmp581.QwiicBMP581.kIntModeLatched = 1
static

◆ kIntModeMask

int qwiic_bmp581.QwiicBMP581.kIntModeMask = 0x01
static

◆ kIntModePulsed

int qwiic_bmp581.QwiicBMP581.kIntModePulsed = 0
static

◆ kIntModeShift

int qwiic_bmp581.QwiicBMP581.kIntModeShift = 0
static

◆ kIntNvmCmdErr

int qwiic_bmp581.QwiicBMP581.kIntNvmCmdErr = 0x08
static

◆ kIntNvmErr

int qwiic_bmp581.QwiicBMP581.kIntNvmErr = 0x04
static

◆ kIntNvmRdy

int qwiic_bmp581.QwiicBMP581.kIntNvmRdy = 0x02
static

◆ kIntOdMask

int qwiic_bmp581.QwiicBMP581.kIntOdMask = 0x04
static

◆ kIntOdOpenDrain

int qwiic_bmp581.QwiicBMP581.kIntOdOpenDrain = 1
static

◆ kIntOdPushPull

int qwiic_bmp581.QwiicBMP581.kIntOdPushPull = 0
static

◆ kIntOdShift

int qwiic_bmp581.QwiicBMP581.kIntOdShift = 2
static

◆ kIntOorPressEnMask

int qwiic_bmp581.QwiicBMP581.kIntOorPressEnMask = 0x08
static

◆ kIntOorPressEnShift

int qwiic_bmp581.QwiicBMP581.kIntOorPressEnShift = 3
static

◆ kIntPolActiveHigh

int qwiic_bmp581.QwiicBMP581.kIntPolActiveHigh = 1
static

◆ kIntPolActiveLow

int qwiic_bmp581.QwiicBMP581.kIntPolActiveLow = 0
static

◆ kIntPolMask

int qwiic_bmp581.QwiicBMP581.kIntPolMask = 0x02
static

◆ kIntPolShift

int qwiic_bmp581.QwiicBMP581.kIntPolShift = 1
static

◆ kNoError

int qwiic_bmp581.QwiicBMP581.kNoError = 0
static

◆ kNvmAddrMask

int qwiic_bmp581.QwiicBMP581.kNvmAddrMask = 0x3F
static

◆ kNvmAddrShift

int qwiic_bmp581.QwiicBMP581.kNvmAddrShift = 0
static

◆ kNvmDataLsbMask

int qwiic_bmp581.QwiicBMP581.kNvmDataLsbMask = 0x00FF
static

◆ kNvmDataLsbShift

int qwiic_bmp581.QwiicBMP581.kNvmDataLsbShift = 0
static

◆ kNvmDataMsbMask

int qwiic_bmp581.QwiicBMP581.kNvmDataMsbMask = 0xFF00
static

◆ kNvmDataMsbShift

int qwiic_bmp581.QwiicBMP581.kNvmDataMsbShift = 0
static

◆ kNvmEndAddr

int qwiic_bmp581.QwiicBMP581.kNvmEndAddr = 0x22
static

◆ kNvmFirstCmd

int qwiic_bmp581.QwiicBMP581.kNvmFirstCmd = 0x5D
static

◆ kNvmProgEnMask

int qwiic_bmp581.QwiicBMP581.kNvmProgEnMask = 0x40
static

◆ kNvmProgEnShift

int qwiic_bmp581.QwiicBMP581.kNvmProgEnShift = 6
static

◆ kNvmReadEnableCmd

int qwiic_bmp581.QwiicBMP581.kNvmReadEnableCmd = 0xA5
static

◆ kNvmStartAddr

int qwiic_bmp581.QwiicBMP581.kNvmStartAddr = 0x20
static

◆ kNvmWriteEnableCmd

int qwiic_bmp581.QwiicBMP581.kNvmWriteEnableCmd = 0xA0
static

◆ kOdr01Hz

int qwiic_bmp581.QwiicBMP581.kOdr01Hz = 0x1C
static

◆ kOdr02Hz

int qwiic_bmp581.QwiicBMP581.kOdr02Hz = 0x1B
static

◆ kOdr03Hz

int qwiic_bmp581.QwiicBMP581.kOdr03Hz = 0x1A
static

◆ kOdr04Hz

int qwiic_bmp581.QwiicBMP581.kOdr04Hz = 0x19
static

◆ kOdr05Hz

int qwiic_bmp581.QwiicBMP581.kOdr05Hz = 0x18
static

◆ kOdr0_125Hz

int qwiic_bmp581.QwiicBMP581.kOdr0_125Hz = 0x1F
static

◆ kOdr0_250Hz

int qwiic_bmp581.QwiicBMP581.kOdr0_250Hz = 0x1E
static

◆ kOdr0_5Hz

int qwiic_bmp581.QwiicBMP581.kOdr0_5Hz = 0x1D
static

◆ kOdr100_2Hz

int qwiic_bmp581.QwiicBMP581.kOdr100_2Hz = 0x0A
static

◆ kOdr10Hz

int qwiic_bmp581.QwiicBMP581.kOdr10Hz = 0x17
static

◆ kOdr110_1Hz

int qwiic_bmp581.QwiicBMP581.kOdr110_1Hz = 0x09
static

◆ kOdr120Hz

int qwiic_bmp581.QwiicBMP581.kOdr120Hz = 0x08
static

◆ kOdr129_8Hz

int qwiic_bmp581.QwiicBMP581.kOdr129_8Hz = 0x07
static

◆ kOdr140Hz

int qwiic_bmp581.QwiicBMP581.kOdr140Hz = 0x06
static

◆ kOdr149_3Hz

int qwiic_bmp581.QwiicBMP581.kOdr149_3Hz = 0x05
static

◆ kOdr15Hz

int qwiic_bmp581.QwiicBMP581.kOdr15Hz = 0x16
static

◆ kOdr160Hz

int qwiic_bmp581.QwiicBMP581.kOdr160Hz = 0x04
static

◆ kOdr179_2Hz

int qwiic_bmp581.QwiicBMP581.kOdr179_2Hz = 0x03
static

◆ kOdr199_1Hz

int qwiic_bmp581.QwiicBMP581.kOdr199_1Hz = 0x02
static

◆ kOdr20Hz

int qwiic_bmp581.QwiicBMP581.kOdr20Hz = 0x15
static

◆ kOdr218_5Hz

int qwiic_bmp581.QwiicBMP581.kOdr218_5Hz = 0x01
static

◆ kOdr240Hz

int qwiic_bmp581.QwiicBMP581.kOdr240Hz = 0x00
static

◆ kOdr25Hz

int qwiic_bmp581.QwiicBMP581.kOdr25Hz = 0x14
static

◆ kOdr30Hz

int qwiic_bmp581.QwiicBMP581.kOdr30Hz = 0x13
static

◆ kOdr35Hz

int qwiic_bmp581.QwiicBMP581.kOdr35Hz = 0x12
static

◆ kOdr40Hz

int qwiic_bmp581.QwiicBMP581.kOdr40Hz = 0x11
static

◆ kOdr45Hz

int qwiic_bmp581.QwiicBMP581.kOdr45Hz = 0x10
static

◆ kOdr50Hz

int qwiic_bmp581.QwiicBMP581.kOdr50Hz = 0x0F
static

◆ kOdr60Hz

int qwiic_bmp581.QwiicBMP581.kOdr60Hz = 0x0E
static

◆ kOdr70Hz

int qwiic_bmp581.QwiicBMP581.kOdr70Hz = 0x0D
static

◆ kOdr80Hz

int qwiic_bmp581.QwiicBMP581.kOdr80Hz = 0x0C
static

◆ kOdr89_6Hz

int qwiic_bmp581.QwiicBMP581.kOdr89_6Hz = 0x0B
static

◆ kOdrIsValidMask

int qwiic_bmp581.QwiicBMP581.kOdrIsValidMask = 0x80
static

◆ kOdrIsValidShift

int qwiic_bmp581.QwiicBMP581.kOdrIsValidShift = 7
static

◆ kOdrMask

int qwiic_bmp581.QwiicBMP581.kOdrMask = 0x7C
static

◆ kOdrShift

int qwiic_bmp581.QwiicBMP581.kOdrShift = 2
static

◆ kOorCountLimitMask

int qwiic_bmp581.QwiicBMP581.kOorCountLimitMask = 0xC0
static

◆ kOorCountLimitShift

int qwiic_bmp581.QwiicBMP581.kOorCountLimitShift = 6
static

◆ kOorSelIirPressMask

int qwiic_bmp581.QwiicBMP581.kOorSelIirPressMask = 0x80
static

◆ kOorSelIirPressShift

int qwiic_bmp581.QwiicBMP581.kOorSelIirPressShift = 7
static

◆ kOorThrPLsbMask

int qwiic_bmp581.QwiicBMP581.kOorThrPLsbMask = 0x0000FF
static

◆ kOorThrPLsbShift

int qwiic_bmp581.QwiicBMP581.kOorThrPLsbShift = 0
static

◆ kOorThrPMsbMask

int qwiic_bmp581.QwiicBMP581.kOorThrPMsbMask = 0x00FF00
static

◆ kOorThrPMsbShift

int qwiic_bmp581.QwiicBMP581.kOorThrPMsbShift = 0
static

◆ kOorThrPXmsbMask

int qwiic_bmp581.QwiicBMP581.kOorThrPXmsbMask = 0x010000
static

◆ kOorThrPXmsbRegMask

int qwiic_bmp581.QwiicBMP581.kOorThrPXmsbRegMask = 0x01
static

◆ kOorThrPXmsbRegShift

int qwiic_bmp581.QwiicBMP581.kOorThrPXmsbRegShift = 0
static

◆ kOorThrPXmsbShift

int qwiic_bmp581.QwiicBMP581.kOorThrPXmsbShift = 16
static

◆ kOsrPressEffMask

int qwiic_bmp581.QwiicBMP581.kOsrPressEffMask = 0x38
static

◆ kOsrPressEffShift

int qwiic_bmp581.QwiicBMP581.kOsrPressEffShift = 3
static

◆ kOsrTempEffMask

int qwiic_bmp581.QwiicBMP581.kOsrTempEffMask = 0x07
static

◆ kOsrTempEffShift

int qwiic_bmp581.QwiicBMP581.kOsrTempEffShift = 0
static

◆ kPowerModeContinuous

int qwiic_bmp581.QwiicBMP581.kPowerModeContinuous = 3
static

◆ kPowerModeDeepStandby

int qwiic_bmp581.QwiicBMP581.kPowerModeDeepStandby = 4
static

◆ kPowerModeForced

int qwiic_bmp581.QwiicBMP581.kPowerModeForced = 2
static

◆ kPowermodeMask

int qwiic_bmp581.QwiicBMP581.kPowermodeMask = 0x03
static

◆ kPowerModeNormal

int qwiic_bmp581.QwiicBMP581.kPowerModeNormal = 1
static

◆ kPowermodeShift

int qwiic_bmp581.QwiicBMP581.kPowermodeShift = 0
static

◆ kPowerModeStandby

int qwiic_bmp581.QwiicBMP581.kPowerModeStandby = 0
static

◆ kPressEnMask

int qwiic_bmp581.QwiicBMP581.kPressEnMask = 0x40
static

◆ kPressEnShift

int qwiic_bmp581.QwiicBMP581.kPressEnShift = 6
static

◆ kPressOsMask

int qwiic_bmp581.QwiicBMP581.kPressOsMask = 0x38
static

◆ kPressOsShift

int qwiic_bmp581.QwiicBMP581.kPressOsShift = 3
static

◆ kRegChipId

int qwiic_bmp581.QwiicBMP581.kRegChipId = 0x01
static

◆ kRegChipStatus

int qwiic_bmp581.QwiicBMP581.kRegChipStatus = 0x11
static

◆ kRegCmd

int qwiic_bmp581.QwiicBMP581.kRegCmd = 0x7E
static

◆ kRegDriveConfig

int qwiic_bmp581.QwiicBMP581.kRegDriveConfig = 0x13
static

◆ kRegDspConfig

int qwiic_bmp581.QwiicBMP581.kRegDspConfig = 0x30
static

◆ kRegDspIir

int qwiic_bmp581.QwiicBMP581.kRegDspIir = 0x31
static

◆ kRegFifoConfig

int qwiic_bmp581.QwiicBMP581.kRegFifoConfig = 0x16
static

◆ kRegFifoCount

int qwiic_bmp581.QwiicBMP581.kRegFifoCount = 0x17
static

◆ kRegFifoData

int qwiic_bmp581.QwiicBMP581.kRegFifoData = 0x29
static

◆ kRegFifoSel

int qwiic_bmp581.QwiicBMP581.kRegFifoSel = 0x18
static

◆ kRegIntConfig

int qwiic_bmp581.QwiicBMP581.kRegIntConfig = 0x14
static

◆ kRegIntSource

int qwiic_bmp581.QwiicBMP581.kRegIntSource = 0x15
static

◆ kRegIntStatus

int qwiic_bmp581.QwiicBMP581.kRegIntStatus = 0x27
static

◆ kRegNvmAddr

int qwiic_bmp581.QwiicBMP581.kRegNvmAddr = 0x2B
static

◆ kRegNvmDataLsb

int qwiic_bmp581.QwiicBMP581.kRegNvmDataLsb = 0x2C
static

◆ kRegNvmDataMsb

int qwiic_bmp581.QwiicBMP581.kRegNvmDataMsb = 0x2D
static

◆ kRegOdrConfig

int qwiic_bmp581.QwiicBMP581.kRegOdrConfig = 0x37
static

◆ kRegOorConfig

int qwiic_bmp581.QwiicBMP581.kRegOorConfig = 0x35
static

◆ kRegOorRange

int qwiic_bmp581.QwiicBMP581.kRegOorRange = 0x34
static

◆ kRegOorThrPLsb

int qwiic_bmp581.QwiicBMP581.kRegOorThrPLsb = 0x32
static

◆ kRegOorThrPMsb

int qwiic_bmp581.QwiicBMP581.kRegOorThrPMsb = 0x33
static

◆ kRegOsrConfig

int qwiic_bmp581.QwiicBMP581.kRegOsrConfig = 0x36
static

◆ kRegOsrEff

int qwiic_bmp581.QwiicBMP581.kRegOsrEff = 0x38
static

◆ kRegPressDataLsb

int qwiic_bmp581.QwiicBMP581.kRegPressDataLsb = 0x21
static

◆ kRegPressDataMsb

int qwiic_bmp581.QwiicBMP581.kRegPressDataMsb = 0x22
static

◆ kRegPressDataXlsb

int qwiic_bmp581.QwiicBMP581.kRegPressDataXlsb = 0x20
static

◆ kRegRevId

int qwiic_bmp581.QwiicBMP581.kRegRevId = 0x02
static

◆ kRegStatus

int qwiic_bmp581.QwiicBMP581.kRegStatus = 0x28
static

◆ kRegTempDataLsb

int qwiic_bmp581.QwiicBMP581.kRegTempDataLsb = 0x1E
static

◆ kRegTempDataMsb

int qwiic_bmp581.QwiicBMP581.kRegTempDataMsb = 0x1F
static

◆ kRegTempDataXlsb

int qwiic_bmp581.QwiicBMP581.kRegTempDataXlsb = 0x1D
static

◆ kSetFifoIirPressMask

int qwiic_bmp581.QwiicBMP581.kSetFifoIirPressMask = 0x40
static

◆ kSetFifoIirPressShift

int qwiic_bmp581.QwiicBMP581.kSetFifoIirPressShift = 6
static

◆ kSetFifoIirTempMask

int qwiic_bmp581.QwiicBMP581.kSetFifoIirTempMask = 0x10
static

◆ kSetFifoIirTempShift

int qwiic_bmp581.QwiicBMP581.kSetFifoIirTempShift = 4
static

◆ kSetIirPressMask

int qwiic_bmp581.QwiicBMP581.kSetIirPressMask = 0x38
static

◆ kSetIirPressShift

int qwiic_bmp581.QwiicBMP581.kSetIirPressShift = 3
static

◆ kSetIirTempMask

int qwiic_bmp581.QwiicBMP581.kSetIirTempMask = 0x07
static

◆ kSetIirTempShift

int qwiic_bmp581.QwiicBMP581.kSetIirTempShift = 0
static

◆ kShdwSetIirPressMask

int qwiic_bmp581.QwiicBMP581.kShdwSetIirPressMask = 0x20
static

◆ kShdwSetIirPressShift

int qwiic_bmp581.QwiicBMP581.kShdwSetIirPressShift = 5
static

◆ kShdwSetIirTempMask

int qwiic_bmp581.QwiicBMP581.kShdwSetIirTempMask = 0x08
static

◆ kShdwSetIirTempShift

int qwiic_bmp581.QwiicBMP581.kShdwSetIirTempShift = 3
static

◆ kSoftResetCmd

int qwiic_bmp581.QwiicBMP581.kSoftResetCmd = 0xB6
static

◆ kTempOsMask

int qwiic_bmp581.QwiicBMP581.kTempOsMask = 0x07
static

◆ kTempOsShift

int qwiic_bmp581.QwiicBMP581.kTempOsShift = 0
static

◆ osrOdrConfig

qwiic_bmp581.QwiicBMP581.osrOdrConfig

Property Documentation

◆ connected

qwiic_bmp581.QwiicBMP581.connected = property(is_connected)
static

The documentation for this class was generated from the following file: