Freescale Semiconductor FRDM-FXS-MULTI 데이터 시트

다운로드
페이지 42
MPL3115A2
Sensors
Freescale Semiconductor, Inc.
31
Note: RAW bit overrides the ALT mode and writes uncompensated Pressure and Temperature data
7.17.2 CTRL_REG2 (0x27)
OS[2:0]
Oversample Ratio. These bits select the oversampling ratio. Value is 2
OS
. The default value is 000 for a ratio of 1.
RAW
RAW output mode. RAW bit will output ADC data with no post processing, except for oversampling. No scaling or offsets will be 
applied in the digital domain. The FIFO must be disabled and all other functionality: Alarms, Deltas, and other interrupts are 
disabled. 
ALT
Altimeter-Barometer mode.
Default value: 0
1: Part is in Altimeter Mode
0: Part is in Barometer mode 
Table 59. System Output Sample Rate Selection
OS2
OS1
OS0
Oversample 
Ratio
Minimum Time 
Between
Data Samples
0
0
0
1
6  ms
0
0
1
2
10  ms
0
1
0
4
18  ms
0
1
1
8
34  ms
1
0
0
16
66 ms
1
0
1
32
130 ms
1
1
0
64
258 ms
1
1
1
128
512 ms
Table 60. CTRL_REG2 Register
6
5
4
3
2
1
0
R
0
0
LOAD_OUTPUT
ALARM_SEL
ST[3]
ST[2]
ST[1]
ST[0]
W
Reset
0
0
0
0
0
0
0
0
Table 61. CTRL_REG2 Bit Descriptions
Name
Description
ST[3:0]
Auto acquisition time step. 
Default value: 0
Step value is 2
ST
: Giving a range of 1 second to 2
15
 seconds (9 hours)
ALARM_SEL
The bit selects the Target value for SRC_PW/SRC_TW and SRC_PTH/SRC_TTH
Default value: 0
0: The values in P_TGT_MSB, P_TGT_LSB and T_TGT are used (Default)
1: The values in OUT_P/OUT_T are used for calculating the interrupts SRC_PW/SRC_TW and SRC_PTH/SRC_TTH.
LOAD_OUTPUT
This is to load the target values for SRC_PW/SRC_TW and SRC_PTH/SRC_TTH.
Default value: 0
0: Do not load OUT_P/OUT_T as target values
1: The next values of OUT_P/OUT_T are used to set the target values for the interrupts.
Note: 
1. This bit must be set at least once if ALARM_SEL=1
2. To reload the next OUT_P/OUT_T as the target values clear and set again.
Table 58. CTRL_REG1 Bit Descriptions