Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
bmp581_user.h File Reference

Go to the source code of this file.

Macros

#define BMP5_SEA_LEVEL_PRESSURE_PA   101325
 
#define BMP5_ODR_240_HZ   0x00
 
#define BMP5_ODR_218_5_HZ   0x01
 
#define BMP5_ODR_199_1_HZ   0x02
 
#define BMP5_ODR_179_2_HZ   0x03
 
#define BMP5_ODR_160_HZ   0x04
 
#define BMP5_ODR_149_3_HZ   0x05
 
#define BMP5_ODR_140_HZ   0x06
 
#define BMP5_ODR_129_8_HZ   0x07
 
#define BMP5_ODR_120_HZ   0x08
 
#define BMP5_ODR_110_1_HZ   0x09
 
#define BMP5_ODR_100_2_HZ   0x0A
 
#define BMP5_ODR_89_6_HZ   0x0B
 
#define BMP5_ODR_80_HZ   0x0C
 
#define BMP5_ODR_70_HZ   0x0D
 
#define BMP5_ODR_60_HZ   0x0E
 
#define BMP5_ODR_50_HZ   0x0F
 
#define BMP5_ODR_45_HZ   0x10
 
#define BMP5_ODR_40_HZ   0x11
 
#define BMP5_ODR_35_HZ   0x12
 
#define BMP5_ODR_30_HZ   0x13
 
#define BMP5_ODR_25_HZ   0x14
 
#define BMP5_ODR_20_HZ   0x15
 
#define BMP5_ODR_15_HZ   0x16
 
#define BMP5_ODR_10_HZ   0x17
 
#define BMP5_ODR_05_HZ   0x18
 
#define BMP5_ODR_04_HZ   0x19
 
#define BMP5_ODR_03_HZ   0x1A
 
#define BMP5_ODR_02_HZ   0x1B
 
#define BMP5_ODR_01_HZ   0x1C
 
#define BMP5_ODR_0_5_HZ   0x1D
 
#define BMP5_ODR_0_250_HZ   0x1E
 
#define BMP5_ODR_0_125_HZ   0x1F
 
#define BMP5_OVERSAMPLING_1X   0x00
 
#define BMP5_OVERSAMPLING_2X   0x01
 
#define BMP5_OVERSAMPLING_4X   0x02
 
#define BMP5_OVERSAMPLING_8X   0x03
 
#define BMP5_OVERSAMPLING_16X   0x04
 
#define BMP5_OVERSAMPLING_32X   0x05
 
#define BMP5_OVERSAMPLING_64X   0x06
 
#define BMP5_OVERSAMPLING_128X   0x07
 
#define BMP5_IIR_FILTER_BYPASS   0x00
 
#define BMP5_IIR_FILTER_COEFF_1   0x01
 
#define BMP5_IIR_FILTER_COEFF_3   0x02
 
#define BMP5_IIR_FILTER_COEFF_7   0x03
 
#define BMP5_IIR_FILTER_COEFF_15   0x04
 
#define BMP5_IIR_FILTER_COEFF_31   0x05
 
#define BMP5_IIR_FILTER_COEFF_63   0x06
 
#define BMP5_IIR_FILTER_COEFF_127   0x07
 
#define BMP5_ATTR_IIR_CONFIG   (SENSOR_ATTR_PRIV_START + 1u)
 
#define BMP5_ATTR_POWER_MODE   (SENSOR_ATTR_PRIV_START + 2u)
 

Enumerations

enum  bmp5_powermode {
  BMP5_POWERMODE_STANDBY , BMP5_POWERMODE_NORMAL , BMP5_POWERMODE_FORCED , BMP5_POWERMODE_CONTINUOUS ,
  BMP5_POWERMODE_DEEP_STANDBY
}
 

Macro Definition Documentation

◆ BMP5_ATTR_IIR_CONFIG

#define BMP5_ATTR_IIR_CONFIG   (SENSOR_ATTR_PRIV_START + 1u)

◆ BMP5_ATTR_POWER_MODE

#define BMP5_ATTR_POWER_MODE   (SENSOR_ATTR_PRIV_START + 2u)

◆ BMP5_IIR_FILTER_BYPASS

#define BMP5_IIR_FILTER_BYPASS   0x00

◆ BMP5_IIR_FILTER_COEFF_1

#define BMP5_IIR_FILTER_COEFF_1   0x01

◆ BMP5_IIR_FILTER_COEFF_127

#define BMP5_IIR_FILTER_COEFF_127   0x07

◆ BMP5_IIR_FILTER_COEFF_15

#define BMP5_IIR_FILTER_COEFF_15   0x04

◆ BMP5_IIR_FILTER_COEFF_3

#define BMP5_IIR_FILTER_COEFF_3   0x02

◆ BMP5_IIR_FILTER_COEFF_31

#define BMP5_IIR_FILTER_COEFF_31   0x05

◆ BMP5_IIR_FILTER_COEFF_63

#define BMP5_IIR_FILTER_COEFF_63   0x06

◆ BMP5_IIR_FILTER_COEFF_7

#define BMP5_IIR_FILTER_COEFF_7   0x03

◆ BMP5_ODR_01_HZ

#define BMP5_ODR_01_HZ   0x1C

◆ BMP5_ODR_02_HZ

#define BMP5_ODR_02_HZ   0x1B

◆ BMP5_ODR_03_HZ

#define BMP5_ODR_03_HZ   0x1A

◆ BMP5_ODR_04_HZ

#define BMP5_ODR_04_HZ   0x19

◆ BMP5_ODR_05_HZ

#define BMP5_ODR_05_HZ   0x18

◆ BMP5_ODR_0_125_HZ

#define BMP5_ODR_0_125_HZ   0x1F

◆ BMP5_ODR_0_250_HZ

#define BMP5_ODR_0_250_HZ   0x1E

◆ BMP5_ODR_0_5_HZ

#define BMP5_ODR_0_5_HZ   0x1D

◆ BMP5_ODR_100_2_HZ

#define BMP5_ODR_100_2_HZ   0x0A

◆ BMP5_ODR_10_HZ

#define BMP5_ODR_10_HZ   0x17

◆ BMP5_ODR_110_1_HZ

#define BMP5_ODR_110_1_HZ   0x09

◆ BMP5_ODR_120_HZ

#define BMP5_ODR_120_HZ   0x08

◆ BMP5_ODR_129_8_HZ

#define BMP5_ODR_129_8_HZ   0x07

◆ BMP5_ODR_140_HZ

#define BMP5_ODR_140_HZ   0x06

◆ BMP5_ODR_149_3_HZ

#define BMP5_ODR_149_3_HZ   0x05

◆ BMP5_ODR_15_HZ

#define BMP5_ODR_15_HZ   0x16

◆ BMP5_ODR_160_HZ

#define BMP5_ODR_160_HZ   0x04

◆ BMP5_ODR_179_2_HZ

#define BMP5_ODR_179_2_HZ   0x03

◆ BMP5_ODR_199_1_HZ

#define BMP5_ODR_199_1_HZ   0x02

◆ BMP5_ODR_20_HZ

#define BMP5_ODR_20_HZ   0x15

◆ BMP5_ODR_218_5_HZ

#define BMP5_ODR_218_5_HZ   0x01

◆ BMP5_ODR_240_HZ

#define BMP5_ODR_240_HZ   0x00

◆ BMP5_ODR_25_HZ

#define BMP5_ODR_25_HZ   0x14

◆ BMP5_ODR_30_HZ

#define BMP5_ODR_30_HZ   0x13

◆ BMP5_ODR_35_HZ

#define BMP5_ODR_35_HZ   0x12

◆ BMP5_ODR_40_HZ

#define BMP5_ODR_40_HZ   0x11

◆ BMP5_ODR_45_HZ

#define BMP5_ODR_45_HZ   0x10

◆ BMP5_ODR_50_HZ

#define BMP5_ODR_50_HZ   0x0F

◆ BMP5_ODR_60_HZ

#define BMP5_ODR_60_HZ   0x0E

◆ BMP5_ODR_70_HZ

#define BMP5_ODR_70_HZ   0x0D

◆ BMP5_ODR_80_HZ

#define BMP5_ODR_80_HZ   0x0C

◆ BMP5_ODR_89_6_HZ

#define BMP5_ODR_89_6_HZ   0x0B

◆ BMP5_OVERSAMPLING_128X

#define BMP5_OVERSAMPLING_128X   0x07

◆ BMP5_OVERSAMPLING_16X

#define BMP5_OVERSAMPLING_16X   0x04

◆ BMP5_OVERSAMPLING_1X

#define BMP5_OVERSAMPLING_1X   0x00

◆ BMP5_OVERSAMPLING_2X

#define BMP5_OVERSAMPLING_2X   0x01

◆ BMP5_OVERSAMPLING_32X

#define BMP5_OVERSAMPLING_32X   0x05

◆ BMP5_OVERSAMPLING_4X

#define BMP5_OVERSAMPLING_4X   0x02

◆ BMP5_OVERSAMPLING_64X

#define BMP5_OVERSAMPLING_64X   0x06

◆ BMP5_OVERSAMPLING_8X

#define BMP5_OVERSAMPLING_8X   0x03

◆ BMP5_SEA_LEVEL_PRESSURE_PA

#define BMP5_SEA_LEVEL_PRESSURE_PA   101325

Enumeration Type Documentation

◆ bmp5_powermode

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.