| Electronic Components Datasheet Search |
|
AN3299 Datasheet(PDF) 11 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3299 Datasheet(HTML) 11 Page - STMicroelectronics |
|
11 / 13 page ![]() AN3299 Software Doc ID 18113 Rev 1 11/13 2.2.2 Interrupt handling The following is a sample for the device interrupt/hotkey serving routine based on standard implementation. ● Interrupt service routine ON_INTERRUPT GPIO_INT_STATUS = ReadRegister(INT_STA_GPIO); //Read Interrupt Status register - Is cleared on read. If((GPIO_INT_STATUS & 0x80) == 0x80) // Check for interrupt on GPIO7 { // Handle GPIO interrupt } 2.3 Hotkey de-bounce It is possible that a signal from a mechanical connector (e.g. a 3.5 mm earphone jack) is connected to the STMPE801 input as a hotkey input. In such a case, excessive noise is expected from the hotkey input due to the mechanical movement, which the STMPE801 is not equipped to filter. It is necessary that the host implements filtering or de-bouncing by polling the status bit in the Interrupt status register (0x09). |
|
|
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 |