전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

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
Logo 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


링크 URL



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