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

다운로드
페이지 48
Table 23. F_Setup register
Bit
7
6
5
4
3
2
1
0
Read
F_MODE[1:0]
F_WMRK[5:0]
Write
Reset
0
0
0
0
0
0
0
0
Table 24. F_SETUP field descriptions
Field
Description
7:6
F_MODE
Selects the FIFO operating mode
• In the Circular Buffer mode, the oldest sample is discarded and replaced by the newest sample
when the buffer is full (
F_STATUS[F_CNT] = 32).
• In the Stop mode, the FIFO will stop accepting new samples when the buffer is full
(
 F_STATUS[F_CNT] = 32).
• The FIFO operating mode cannot be switched between Circular and Stop modes while the FIFO is
enabled.
• To change the FIFO operating mode, the FIFO function must first be disabled by setting
F_MODE[1:0] = 00.
• Disabling the FIFO clears the FIFO.
00: FIFO is disabled
01: Circular Buffer mode
1x: Stop mode
5:0
F_WMRK
FIFO sample count watermark setting
• Used to set the watermark level.
• A FIFO sample count exceeding the watermark level does not stop the FIFO from accepting new
data.
• To suppress FIFO watermark event flag generation, F_WMRK[5:0] can be set to 0x00.
Default value is 0b000000.
Register Descriptions
30
Xtrinsic 3-Axis Digital Angular Rate Gyroscope, Rev1.2, 7/2014.
Freescale Semiconductor, Inc.