| 数据搜索系统,热门电子元器件搜索 |
|
STMPE2403 数据表(PDF) 37 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STMPE2403 数据表(HTML) 37 Page - STMicroelectronics |
|
37 / 63 page ![]() STMPE2403 GPIO controller 37/63 10.3 Hot key feature A GPIO is known as ‘Hot Key’ when it is configured to trigger an interruption to the host whenever the GPIO input is being asserted. This feature is applicable in Operational mode ,as well as Sleep mode. 10.3.1 Programming sequence for Hot Key 1. Configures the GPIO pin into GPIO mode by setting the corresponding bits in the GPAFR. 2. Configures the GPIO pin into input direction by setting the corresponding bit in GPDR. 3. Set the GPRER and GPFER to the desired values to enable the rising edge or falling edge detection. 4. Configures and enables the interrupt controller to allow the interruption to the host. 5. Now, the GPIO Expander may be put into Sleep mode if it is desired. 6. Upon any Hot Key being asserted, the device will wake-up and issue an interrupt to the host. Below are the conditions to be fulfilled in order to configure a Hot Key: 1. The pin is configured into GPIO mode and as input pin. 2. The global interrupt mask bit is enabled. 3. The corresponding GPIO interrupt mask bit is enabled. 10.3.2 Minimum pulse width The minimum pulse width of the assertion of the Hot Key must be at least 62.5us. Any pulse width less than the stated value may not be registered. |
|
链接网址 |
| 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 |