| 数据搜索系统,热门电子元器件搜索 |
|
STMPE1801 数据表(PDF) 34 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STMPE1801 数据表(HTML) 34 Page - STMicroelectronics |
|
34 / 60 page ![]() GPIO controller STMPE1801 34/60 Doc ID 17884 Rev 3 10.2 Hotkey feature A GPIO is known as ‘Hotkey’ 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 in Hibernate mode. 10.2.1 Programming sequence for Hotkey 1. Configure the GPIO pin into input direction by setting the corresponding bit in the GPIO set pin direction registers [GPIO_SET_DIR_yyy]. 2. Set the GPIO rising edge registers [GPIO_RE_yyy] and GPIO falling edge registers [GPIO_FE_yyy] to the desired values to enable the rising edge or falling edge detection. 3. Configure and enable the interrupt controller to allow the interruption to the host. 4. Now, the GPIO expander may enter Hibernate mode if there is no activity. 5. 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.2.2 Minimum pulse width The minimum pulse width of the assertion of the Hotkey is dependent on the de-bounce time configured. It must be greater than the de-bounce value configured. 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 |