| 数据搜索系统,热门电子元器件搜索 |
|
LPS22HH 数据表(PDF) 39 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
LPS22HH 数据表(HTML) 39 Page - STMicroelectronics |
|
39 / 59 page ![]() DocID030890 Rev 2 39/59 LPS22HH Register description 59 9 Register description The device contains a set of registers which are used to control its behavior and to retrieve pressure and temperature data. The register address, made up of 7 bits, is used to identify them and to read/write the data through the serial interface. 9.1 INTERRUPT_CFG (0Bh) Interrupt mode for pressure acquisition configuration (R/W) Referring to Figure 24: “Threshold-based” interrupt event, the LPS22HH can be set by the user to support the interrupt function when P_DIFF_IN (defined below) is higher or lower than the threshold value stored in THS_P_L (0Ch) and THS_P_H (0Dh). It is enabled when the DIFF_EN bit in INTERRUPT_CFG (0Bh) register is set to '1' and either PHE bit or PLE bit (or both bits) = '1'. Then, the differential pressure can be compared to a user-defined threshold stored in the 15-bit THS_P (0Ch and 0Dh) registers. The threshold pressure value defined by the user is a 15-bit unsigned value in a 16-bit register composed of THS_P_L (0Ch) and THS_P_H (0Dh) The value is: THS_P (15-bit unsigned) = Desired Interrupt threshold (hPa) x 16 The PHE and PLE bits in INTERRUPT_CFG (0Bh) enable the differential pressure interrupt generation on the positive or negative event respectively. The differential interrupt must be used with AUTOREFP or AUTOZERO mode. Please refer to the application note (AN5209: Section 8. Interrupt modes) for further details. 76543210 AUTOREFP RESET_ARP AUTOZERO RESET_AZ DIFF_EN LIR PLE PHE AUTOREFP Enable AUTOREFP function. Default value: 0 (0: normal mode; 1: AUTOREFP enabled) RESET_ARP Reset AUTOREFP function. Default value: 0 (0: normal mode; 1: reset AUTOREFP function) AUTOZERO Enable AUTOZERO function. Default value: 0 (0: normal mode; 1: AUTOZERO enabled) RESET_AZ Reset AUTOZERO function. Default value: 0 (0: normal mode; 1: reset AUTOZERO function) DIFF_EN Enable interrupt generation. Default value: 0 (0: interrupt generation disabled; 1: interrupt generation enabled) LIR Latch interrupt request to the INT_SOURCE (24h) register. Default value: 0 (0: interrupt request not latched; 1: interrupt request latched) PLE Enable interrupt generation on pressure low event. Default value: 0 (0: disable interrupt request; 1: enable interrupt request on pressure value lower than preset threshold) PHE Enable interrupt generation on pressure high event. Default value: 0 (0: disable interrupt request; 1: enable interrupt request on pressure value higher than preset threshold) |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |