Datasheet

MPL3115A2
Sensors
Freescale Semiconductor, Inc. 35
The system’s interrupt controller uses the corresponding bit field in the CTRL_REG5 register to determine the routing table for
the INT1 and INT2 interrupt pins. If the bit value is logic ‘0’ the functional block’s interrupt is routed to INT2, and if the bit value is
logic ‘1’ then the interrupt is routed to INT1. All interrupts routed to INT1 or INT2 are logically OR’d as illustrated in Figure 9, thus
one or more functional blocks can assert an interrupt pin simultaneously; therefore a host application responding to an interrupt
should read the INT_SOURCE register to determine the appropriate sources of the interrupt.
Figure 9. INT1/INT2 PIN Control Logic
7.18 Offset Correction
The 2’s complement offset correction registers values are used to trim the temperature, altitude and pressure offsets that might
occur over the life of the product.
The resolution of the pressure offset register is 4 Pa per bit.
7.18.1 OFF_P (0x2B)
Pressure user accessible offset trim value expressed as an 8-bit 2's complement number. The user offset registers may be
adjusted to enhance accuracy and optimize the system performance. Range is from -512 to +508 Pa, 4 Pa per LSB.
7.18.2 OFF_T (0x2C)
Temperature user accessible offset trim value expressed as an 8-bit 2's complement number. The user offset registers may
be adjusted to enhance accuracy and optimize the system performance. Range is from -8 to +7.9375°C, 0.0625°C per LSB.
Table 68. OFF_P Register
7 6543210
R
OFF_P7 OFF_P6 OFF_P5 OFF_P4 OFF_P3 OFF_P2 OFF_P1 OFF_P0
W
Reset00000000
Table 69. OFF_P Description
Name Description
OFF_P7-OFF_P0
Pressure offset trim value.
Default value: 0000_0000.
Table 70. OFF_T Register
7 6543210
R
OFF_T7 OFF_T6 OFF_T5 OFF_T4 OFF_T3 OFF_T2 OFF_T1 OFF_T0
W
Reset00000000
OR
SRC DR
SRC Pressure Change
SRC Temp Change
.
.
.
INT