Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

AN2710 Datasheet(PDF) 7 Page - STMicroelectronics

Part # AN2710
Description  Safe GPIO port configuration in STR7xx devices
PDF  30 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2710 Datasheet(HTML) 7 Page - STMicroelectronics

Back Button AN2710 Datasheet HTML 3Page - STMicroelectronics AN2710 Datasheet HTML 4Page - STMicroelectronics AN2710 Datasheet HTML 5Page - STMicroelectronics AN2710 Datasheet HTML 6Page - STMicroelectronics AN2710 Datasheet HTML 7Page - STMicroelectronics AN2710 Datasheet HTML 8Page - STMicroelectronics AN2710 Datasheet HTML 9Page - STMicroelectronics AN2710 Datasheet HTML 10Page - STMicroelectronics AN2710 Datasheet HTML 11Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 7 / 30 page
background image
AN2710
STR71x & STR73x I/O ports
7/30
1.2
General-purpose I/O (GPIO)
At reset the I/O ports are configured as general-purpose (memory mapped I/O).
When the user writes to the I/O Data register, the data are always loaded into the output
latch. The output latch holds the data to be output while the input latch captures the data
present on the I/O pin.
A read access to the I/O Data register reads the input latch or the output latch depending on
whether the port bit is configured as an input or an output.
Table 1.
STR71x port bit configuration table(1)
1.
AF = alternate function, AIN = analog input, HiZ = high impedance, IN = input, IPUPD = input pull-up/pull-
down, OD = open drain, OUT = output, PP = push-pull, TRI = tristate, TTL = TTL input levels, WP = weak
push-pull.
NA = not applicable. In Output mode, a read access the port will get the output latch value). See Figure 4.
Port Configuration
Registers (bit)
Values
PC0(n)
01010101
PC1(n)
00110011
PC2(n)
00001111
Configuration
HiZ/AIN
IN
IN
IPUPD
OUT
OUT
AF
AF
Output
TRI
TRI
TRI
WP
OD
PP
OD
PP
Input
AIN
TTL
CMOS
CMOS
NA
NA
CMOS
CMOS
Table 2.
STR73x port bit configuration table(1)
1.
AF = alternate function, AIN = analog input, HiZ = high impedance, IN = input, IPUPD = input pull-up/pull-
down, OD = open drain, OUT = output, PP = push-pull, TRI = tristate, TTL = TTL input levels, WP = weak
push-pull.
Port
Configuration
Registers (bit)
Values
PC0(n)
0
1
0
10101
PC1(n)
0
0
1
10011
PC2(n)
0
0
0
01111
Configuration
HiZ/AIN
IN
reserved
IPUPD
OUT
OUT
AF
AF
Output
TRI
TRI
WP(2)
2.
Depending on the PD(n) value, it behaves as weak pull-up (PD=1) or weak pull-down (PD=0)
OD
PP
OD
PP
Input
-
TTL
TTL
TTL
TTL
TTL
TTL



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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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