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

X  

STMPE2401 数据表(PDF) 29 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) 29 Page - STMicroelectronics

Back Button STMPE2401 Datasheet HTML 25Page - STMicroelectronics STMPE2401 Datasheet HTML 26Page - STMicroelectronics STMPE2401 Datasheet HTML 27Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 29 / 55 page
background image
STMPE2401
GPIO controller
29/55
10.1
GPIO control registers
A group of registers are used to control the exact function of each of the 24 GPIO. All GPIO
registers are named as GPxxx_yyy, where
Xxx represents the functional group
Yyy represents the byte position of the GPIO
Lsb registers controls GPIO[7:0]
Csb registers controls GPIO[15:8]
Msb registers controls GPIO[23:16]
Note:
This convention does not apply to the GPIO Alternate Function Registers
The function of each bit is shown in the following table:
Address
Register name
Description
Auto-Increment
(during sequential R/W)
0x9B
GPAFR_U_msb
GPIO Alternate Function Register
(Upper Bit)
Yes
0x9C
GPAFR_U_csb
Yes
0x9D
GPAFR_U_lsb
Yes
0x9E
GPAFR_L_msb
GPIO Alternate Function Register
(Lower Bit)
Yes
0x9F
GPAFR_L_csb
Yes
0xA0
GPAFR_L_lsb
Yes
0xA5 – 0xAF
RESERVED
Reserved
Yes
Table 26. GPIO controller
Table 27. Register
Bit
7
65
43
210
GPxxx_msb
IO-23
IO-22
IO-21
IO-20
IO-19
IO-18
IO-17
IO-16
GPxxx_csb
IO-15
IO-14
IO-13
IO-12
IO-11
IO-10
IO-9
IO-8
GPxxx_lsb
IO-7
IO-6
IO-5
IO-4
IO-3
IO-2
IO-1
IO-0
Table 28. Bit’s function
Register name
Function
GPIO Monitor Pin State
Reading this bit yields the current state of the bit. Writing has no effect.
GPIO Set Pin State
Writing ‘1’ to this bit causes the corresponding GPIO to go to ‘1’ state.
Writing ‘0’ has no effect.
GPIO Clear Pin State
Writing ‘1’ to this bit causes the corresponding GPIO to go to ‘0’ state.
Writing ‘0’ has no effect.
GPIO Set Pin Direction
‘0’ sets the corresponding GPIO to input state, and ‘1’ sets it to output
state



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