Zephyr Project API 4.2.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

Bosch BMP581 Barometric pressure sensor. More...

Modules

 IIR Filter options.
 Valid values for temperature and pressure IIR filter coefficient.
 
 Output data rate options
 
 Oversampling options.
 Valid values for temperature and pressure sensor oversampling ratio.
 
 Sensor power modes
 

Files

file  bmp581_user.h
 Header file for extended sensor API of BMP581 sensor.
 
file  bmp581.h
 Header file for BMP581 sensor Devicetree constants.
 

Macros

#define BMP5_ATTR_IIR_CONFIG   (SENSOR_ATTR_PRIV_START + 1u)
 IIR configuration for pressure and temperature channels.
 
#define BMP5_ATTR_POWER_MODE   (SENSOR_ATTR_PRIV_START + 2u)
 Power mode.
 

Enumerations

enum  bmp5_powermode {
  BMP5_POWERMODE_STANDBY , BMP5_POWERMODE_NORMAL , BMP5_POWERMODE_FORCED , BMP5_POWERMODE_CONTINUOUS ,
  BMP5_POWERMODE_DEEP_STANDBY
}
 BMP581 power modes. More...
 

Detailed Description

Bosch BMP581 Barometric pressure sensor.

Macro Definition Documentation

◆ BMP5_ATTR_IIR_CONFIG

#define BMP5_ATTR_IIR_CONFIG   (SENSOR_ATTR_PRIV_START + 1u)

#include <include/zephyr/drivers/sensor/bmp581_user.h>

IIR configuration for pressure and temperature channels.

sensor_value.val1 is the IIR filter coefficient for temperature. sensor_value.val2 is the IIR filter coefficient for pressure.

See IIR Filter options. for the valid values.

◆ BMP5_ATTR_POWER_MODE

#define BMP5_ATTR_POWER_MODE   (SENSOR_ATTR_PRIV_START + 2u)

#include <include/zephyr/drivers/sensor/bmp581_user.h>

Power mode.

The attribute value should be a bmp5_powermode enum value.

Enumeration Type Documentation

◆ bmp5_powermode

#include <include/zephyr/drivers/sensor/bmp581_user.h>

BMP581 power modes.

Enumerator
BMP5_POWERMODE_STANDBY 

Standby powermode.

BMP5_POWERMODE_NORMAL 

Normal powermode.

BMP5_POWERMODE_FORCED 

Forced powermode.

BMP5_POWERMODE_CONTINUOUS 

Continuous powermode.

BMP5_POWERMODE_DEEP_STANDBY 

Deep standby powermode.