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

X  

STMPE1600 数据表(PDF) 17 Page - STMicroelectronics

部件名 STMPE1600
功能描述  16-bit port expander with ultra-low power consumption Xpander Logic?
PDF  27 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

STMPE1600 数据表(HTML) 17 Page - STMicroelectronics

Back Button STMPE1600 Datasheet HTML 13Page - STMicroelectronics STMPE1600 Datasheet HTML 14Page - STMicroelectronics STMPE1600 Datasheet HTML 15Page - STMicroelectronics STMPE1600 Datasheet HTML 16Page - STMicroelectronics STMPE1600 Datasheet HTML 17Page - STMicroelectronics STMPE1600 Datasheet HTML 18Page - STMicroelectronics STMPE1600 Datasheet HTML 19Page - STMicroelectronics STMPE1600 Datasheet HTML 20Page - STMicroelectronics STMPE1600 Datasheet HTML 21Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 17 / 27 page
background image
STMPE1600
GPIO controller
Doc ID 16938 Rev 3
17/27
8
GPIO controller
A total of 16 GPIOs are available in the STMPE1600 port expander IC. The GPIO controller
contains the registers that allow the host system to configure each of the pins into either a
GPIO (input or output), or into one of the alternate functions. Unused GPIOs should be
configured as outputs to minimize the power consumption.
A group of registers are used to control the exact function of each of the 16 GPIOs. The
registers and their respective address are listed in the following table.
Note:
Once the last register address 0x16-0x17 location is accessed, the locations of 0x18 to
0xFF are reserved. After 0xFF location, the pointer rolls over to the 0x00 register address
location.
All GPIO registers are named as GPxx, where:
xx represents the functional group.
The function of each bit is shown in the following table:
On power-up reset, all GPIOs are set as input.
Table 8.
GPIO controller registers
Address
Register name
Description
Auto-increment
(during sequential
R/W)
0x10
GPMR
GPIO monitor pin state
register
Yes
0x12
GPSR
GPIO set pin state
register
Yes
0x14
GPDR
GPIO set pin direction
register
Yes
0x16
GPPIR
GPIO polarity inversion
register
Yes
15
14
13
12
11
10
9
876543
2
1
0
IO-15 IO-14 IO-13 IO-12 IO-11 IO-10
IO-9
IO-8
IO-7
IO-6
IO-5
IO-4
IO-3
IO-2
IO-1
IO-0
Table 9.
GPIO bit 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’ to this bit causes the corresponding GPIO to go to ‘0’ state.
GPIO set pin direction
‘0’ sets the corresponding GPIO to input state, and ‘1’ sets it to output
state. All bits are ‘0’ on reset.
GPIO polarity inversion
Writing a ‘1’ enables polarity inversion on the Input Port.
Writing a ‘0’, the input port polarity is retained. The reset value is 0.



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


数据表 下载

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