数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

STMPE2401 数据表(PDF) 32 Page - STMicroelectronics

部件名 STMPE2401
功能描述  24-bit Enhanced port expander with Keypad and PWM controller Xpander logic
PDF  55 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

STMPE2401 数据表(HTML) 32 Page - STMicroelectronics

Back Button STMPE2401 Datasheet HTML 28Page - STMicroelectronics STMPE2401 Datasheet HTML 29Page - STMicroelectronics STMPE2401 Datasheet HTML 30Page - STMicroelectronics STMPE2401 Datasheet HTML 31Page - STMicroelectronics STMPE2401 Datasheet HTML 32Page - STMicroelectronics STMPE2401 Datasheet HTML 33Page - STMicroelectronics STMPE2401 Datasheet HTML 34Page - STMicroelectronics STMPE2401 Datasheet HTML 35Page - STMicroelectronics STMPE2401 Datasheet HTML 36Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 32 / 55 page
background image
GPIO controller
STMPE2401
32/55
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
(RC clock is present) as well as Sleep mode (32kHz clock is present).
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.
Table 30. Bit description
Bits
Name
Description
23:0
AF[x]
GPIO Pin ‘x’ Alternate Function Select (where x = 11 to 0).
‘00’ – The corresponding GPIO pin (GPIO[x]) is configured to Primary
Function.
‘01’ – The corresponding GPIO pin (GPIO[x]) is configured to Alternate
Function 1.
‘10’ – The corresponding GPIO pin (GPIO[x]) is configured to Alternate
Function 2.
‘11’ – The corresponding GPIO pin (GPIO[x]) is configured to Alternate
Function 3.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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