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

다운로드
페이지 42
MPL3115A2
Sensors
26
Freescale Semiconductor, Inc.
7.7
Sensor Data
7.7.1
PT_DATA_CFG (0x13)
The PT_DATA_CFG register configures the Pressure data, Temperature data and event flag generator.
Table 36. INT_SOURCE Bit Descriptions
Name
Description
SRC_DRDY
Data ready interrupt status bit. Logic ‘1’ indicates that Pressure/Altitude or Temperature data ready interrupt is active 
indicating the presence of new data and/or a data overwrite, otherwise it is a logic ‘0’.
This bit is asserted when the PTOW and/or PTDR is set and the functional block interrupt has been enabled.
This bit is cleared by reading the STATUS and Pressure/Temperature register.
SRC_FIFO
FIFO interrupt status bit. Logic ‘1’ indicates that a FIFO interrupt event such as an overflow event has occurred. Logic 
‘0’ indicates that no FIFO interrupt event has occurred.
This bit is cleared by reading the F_STATUS register.
FIFO interrupt event generators: FIFO Overflow, or (Watermark: F_CNT = F_WMRK).
SRC_PW
Altitude/Pressure alerter status bit near or equal to target Pressure/Altitude (near is within target value ± window value). 
Window value needs to be non zero for interrupt to trigger.
SRC_TW
Temperature alerter status bit near or equal to target temperature (near is within target value ± window value.) Window 
value needs to be non zero for interrupt to trigger.
SRC_PTH
Altitude/Pressure threshold interrupt. With the window set to a non zero value, the trigger will occur on crossing any of 
the thresholds: upper, center or lower. If the window is set to 0, it will only trigger on crossing the center threshold. 
SRC_TTH
Temperature threshold interrupt. With the window set to a non zero value, the trigger will occur on crossing any of the 
thresholds: upper, center or lower. If the window is set to 0, it will only trigger on crossing the center threshold.
SRC_PCHG
Delta P interrupt status bit.
SRC_TCHG
Delta T interrupt status bit 
Table 37. PT_DATA_CFG Register
6
5
4
3
2
1
0
R
0
0
0
0
0
DREM
PDEFE
TDEFE
W
Reset
0
0
0
0
0
0
0
0
Table 38. PT_DATA_CFG Bit Descriptions
Name
Description
DREM
Data ready event mode. If the DREM bit is set logic ‘1’ and one or more of the data ready event flags (PDEFE, TDEFE) are 
enabled, then an event flag will be raised upon change in state of the data. If the DREM bit is cleared logic ‘0’ and one or 
more of the data ready event flags are enabled, then an event flag will be raised whenever the system acquires a new set 
of data.
Default value: 0.
0: Event detection disabled
1: Generate data ready event flag on new Pressure/Altitude or Temperature data
PDEFE
Data event flag enable on new Pressure/Altitude data. 
Default value: 0
0: Event detection disabled
1: Raise event flag on new Pressure/Altitude data
TDEFE
Data event flag enable on new Temperature data. Default value: 0
0: Event detection disabled
1: Raise event flag on new Temperature data