From aceee9b89a9a012321ef68357e7ddd94684b14b3 Mon Sep 17 00:00:00 2001
From: yincheng.zhong <634916154@qq.com>
Date: 星期三, 16 八月 2023 11:11:17 +0800
Subject: [PATCH] 文件重新排版

---
 Src/ExternalDevices/BMP390.h |   39 +++++++++++++++++++++++++++++++++++++++
 1 files changed, 39 insertions(+), 0 deletions(-)

diff --git a/Src/ExternalDevices/BMP390.h b/Src/ExternalDevices/BMP390.h
index b5ddacf..f0289cf 100644
--- a/Src/ExternalDevices/BMP390.h
+++ b/Src/ExternalDevices/BMP390.h
@@ -78,6 +78,45 @@
 #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);

--
Gitblit v1.9.3