English
Language : 

LPS331AP Datasheet, PDF (23/36 Pages) STMicroelectronics – MEMS pressure sensor: 260-1260 mbar absolute digital output barometer
LPS331AP
Register description
CTRL_REG3
Interrupt control
7
INT_H_L
6
PP_OD
5
INT2_S3
4
INT2_S2
3
INT2_S1
2
INT1_S3
1
INT1_S2
0
INT1S1
Address:
22h
Type:
R/W
Description:
Control register.
[7] INT_H_L: Interrupt active high, low. Default value: 0
(0: active high; 1: active low)
[6] PP_OD: Push-pull/open drain selection on interrupt pads. Default value: 0
(0: push-pull; 1: open drain)
[5:3] INT2_S3, INT2_S2, INT2_S1: data signal on INT2 pad control bits. Default value: 00
(see Table 19.)
[2:0 INT1_S3, INT1_S2, INT1_S1: data signal on INT1 pad control bits. Default value: 00
(see Table 19.)
Table 19. Interrupt configurations
INT1(2)_S3
INT1(2)_S2
0
0
0
0
0
1
0
1
1
0
1
0
1
1
1
1
INT1(2)S1
0
1
0
1
0
1
0
1
INT1(2) pin
GND
Pressure high (P_high)
Pressure low (P_low)
P_low OR P_high
Data ready
Reserved
Reserved
Tri-state
The device features two fully-programmable interrupt sources (INT1 and INT2) which may
be configured to trigger different pressure events. Figure 10 shows the block diagram of the
interrupt generation block and output pressure data.
The device may also be configured to generate, through interrupt pins, a Data Ready signal
(Drdy) which indicates when a new measured pressure data is available, thus simplifying
data synchronization in digital systems.
Doc ID 022112 Rev 7
23/36