| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
AN3299 bảng dữ liệu(PDF) 11 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3299 bảng dữ liệu(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 |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |