Qdatasheet_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

AT90S2313-4PC View Datasheet(PDF) - Atmel Corporation

Part Name
Description
MFG CO.
'AT90S2313-4PC' PDF : 92 Pages View PDF
Port D Data Register PORTD
Bit
$12 ($32)
Read/Write
Initial value
7
6
5
4
3
2
1
0
PORTD6 PORTD5 PORTD4 PORTD3 PORTD2 PORTD1 PORTD0 PORTD
R
R/W
R/W
R/W
R/W
R/W
R/W
R/W
0
0
0
0
0
0
0
0
Port D Data Direction Register
DDRD
Bit
7
6
5
4
3
2
1
0
$11 ($31)
DDD6
DDD5
DDD4
DDD3
DDD2
DDD1
DDD0
DDRD
Read/Write
R
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial value
0
0
0
0
0
0
0
0
Port D Input Pins Address
PIND
Bit
7
6
5
4
3
2
1
0
$10 ($30)
PIND6 PIND5 PIND4 PIND3 PIND2 PIND1 PIND0
PIND
Read/Write
R
R
R
R
R
R
R
R
Initial value
0
N/A
N/A
N/A
N/A
N/A
N/A
N/A
The Port D Input Pins address (PIND) is not a register; this address enables access to
the physical value on each Port D pin. When reading PORTD, the Port D Data Latch is
read, and when reading PIND, the logical values present on the pins are read.
Port D as General Digital I/O
PDn, general I/O pin: The DDDn bit in the DDRD Register selects the direction of this
pin. If DDDn is set (one), PDn is configured as an output pin. If DDDn is cleared (zero),
PDn is configured as an input pin. If PORTDn is set (one) when configured as an input
pin, the MOS pull-up resistor is activated. To switch the pull-up resistor off, the PORTDn
has to be cleared (zero) or the pin has to be configured as an output pin. The Port D pins
are tri-stated when a reset condition becomes active, even if the clock is not active.
Table 20. DDDn Bits on Port D Pins(1)
DDDn PORTDn
I/O
Pull-up
0
0
Input
No
0
1
Input
Yes
1
0
Output
No
1
1
Output
No
Comment
Tri-state (High-Z)
PDn will source current if ext. pulled low
Push-pull Zero Output
Push-pull One Output
Note: 1. n: 60, pin number.
Alternate Functions of Port D The alternate functions of Port D are:
ICP Port D, Bit 6
Timer/Counter1 Input Capture pin. See the Timer/Counter1 description for further
details.
T1 Port D, Bit 5
T1, Timer 1 Clock source. See the Timer description for further details.
T0 Port D, Bit 4
T0, Timer/Counter0 Clock source. See the Timer description for further details.
56 AT90S2313
0839IAVR06/02
Share Link: GO URL

All Rights Reserved © qdatasheet.com  [ Privacy Policy ] [ Contact Us ]