| | |
| | | #define Total_Number_Neg_8 0.00390625 |
| | | #define Total_Number_Neg_3 0.125 |
| | | |
| | | /**\name Over sampling macros */ |
| | | #define BMP3_NO_OVERSAMPLING UINT8_C(0x00) |
| | | #define BMP3_OVERSAMPLING_2X UINT8_C(0x01) |
| | | #define BMP3_OVERSAMPLING_4X UINT8_C(0x02) |
| | | #define BMP3_OVERSAMPLING_8X UINT8_C(0x03) |
| | | #define BMP3_OVERSAMPLING_16X UINT8_C(0x04) |
| | | #define BMP3_OVERSAMPLING_32X UINT8_C(0x05) |
| | | |
| | | /**\name Filter setting macros */ |
| | | #define BMP3_IIR_FILTER_DISABLE UINT8_C(0x00) |
| | | #define BMP3_IIR_FILTER_COEFF_1 UINT8_C(0x01) |
| | | #define BMP3_IIR_FILTER_COEFF_3 UINT8_C(0x02) |
| | | #define BMP3_IIR_FILTER_COEFF_7 UINT8_C(0x03) |
| | | #define BMP3_IIR_FILTER_COEFF_15 UINT8_C(0x04) |
| | | #define BMP3_IIR_FILTER_COEFF_31 UINT8_C(0x05) |
| | | #define BMP3_IIR_FILTER_COEFF_63 UINT8_C(0x06) |
| | | #define BMP3_IIR_FILTER_COEFF_127 UINT8_C(0x07) |
| | | |
| | | /**\name Odr setting macros */ |
| | | #define BMP3_ODR_200_HZ UINT8_C(0x00) |
| | | #define BMP3_ODR_100_HZ UINT8_C(0x01) |
| | | #define BMP3_ODR_50_HZ UINT8_C(0x02) |
| | | #define BMP3_ODR_25_HZ UINT8_C(0x03) |
| | | #define BMP3_ODR_12_5_HZ UINT8_C(0x04) |
| | | #define BMP3_ODR_6_25_HZ UINT8_C(0x05) |
| | | #define BMP3_ODR_3_1_HZ UINT8_C(0x06) |
| | | #define BMP3_ODR_1_5_HZ UINT8_C(0x07) |
| | | #define BMP3_ODR_0_78_HZ UINT8_C(0x08) |
| | | #define BMP3_ODR_0_39_HZ UINT8_C(0x09) |
| | | #define BMP3_ODR_0_2_HZ UINT8_C(0x0A) |
| | | #define BMP3_ODR_0_1_HZ UINT8_C(0x0B) |
| | | #define BMP3_ODR_0_05_HZ UINT8_C(0x0C) |
| | | #define BMP3_ODR_0_02_HZ UINT8_C(0x0D) |
| | | #define BMP3_ODR_0_01_HZ UINT8_C(0x0E) |
| | | #define BMP3_ODR_0_006_HZ UINT8_C(0x0F) |
| | | #define BMP3_ODR_0_003_HZ UINT8_C(0x10) |
| | | #define BMP3_ODR_0_001_HZ UINT8_C(0x11) |
| | | |
| | | |
| | | u8 BMP390_Init(void); |
| | | u8 BMP390_Read_Byte(u8 addr); |
| | | u32 Temperature_Read(void); |