| Electronic Components Datasheet Search |
|
AN4662 Datasheet(PDF) 21 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4662 Datasheet(HTML) 21 Page - STMicroelectronics |
|
21 / 43 page ![]() AN4662 Inertial interrupt 6 Inertial interrupt The LIS2HH12 can provide two inertial interrupt signals and offers several possibilities to personalize these signals. The registers involved in the interrupt generation behavior are IG_CFG1(2), IG_SRC1(2), IG_THS_X(Y,Z)1, IG_THS2 and IG_DUR1(2). Interrupt functionalities can be configured through the IG_CFG1(2) registers, the two MSB are used to configure the operating mode while the six LSB define the axis behavior with respect to the defined threshold. Table 18: IG_CFG1(2) register AOI 6D ZHIE ZLIE YHIE YLIE XHIE XLIE Table 19: Interrupt mode configuration AOI bit 6D bit Interrupt mode 0 0 OR combination of axis requests 0 1 6-direction movement recognition 1 0 AND combination of axis requests 1 1 6-direction position recognition Table 20: Interrupt behavior configuration bit Interrupt behavior ZHIE Enable interrupt request when Z output is higher than the threshold. Default value: 0 (0: disable interrupt request;1: enable interrupt request) ZLIE Enable interrupt request when Z output is lower than the threshold. Default value: 0 (0: disable interrupt request;1: enable interrupt request) YHIE Enable interrupt request when Y output is higher than the threshold. Default value: 0 (0: disable interrupt request;1: enable interrupt request) YLIE Enable interrupt request when Y output is lower than the threshold. Default value: 0 (0: disable interrupt request;1: enable interrupt request) XHIE Enable interrupt request when X output is higher than the threshold. Default value: 0 (0: disable interrupt request;1: enable interrupt request) XLIE Enable interrupt request when X output is lower than the threshold. Default value: 0 (0: disable interrupt request;1: enable interrupt request) The X(Y,Z)HIE and X(Y,Z)LIE configuration has to be selected according to the target application: free-fall, wake-up, etc. Please note that enabling both X(Y,Z)HIE and X(Y,Z)LIE of same axis the interrupt request for that axis is always verified. Interrupt requests coming from all three axes are combined depending on the selected mode, in order to generate the interrupt condition. Whenever an interrupt condition is verified, the interrupt signal is generated and by reading the IG_SRC1(2) registers it is possible to understand which axis generated the request. Table 21: IG_SRC1(2) register - IA ZH ZL YH YL XH XL DocID027579 Rev 1 21/43 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |