| 数据搜索系统,热门电子元器件搜索 |
|
STMPE1601 数据表(PDF) 33 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STMPE1601 数据表(HTML) 33 Page - STMicroelectronics |
|
33 / 61 page ![]() STMPE1601 GPIO controller 33/61 10.3 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 (4 MHz clock is present) as well as Sleep mode (32 kHz clock is present). 10.3.1 Programming sequence for Hotkey 1. Configure the GPIO pin into GPIO mode by setting the corresponding bits in the GPAFR. 2. Configure 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. Configure and enable 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 Hotkey must be at least 62.5 us. 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 |