ATmega64(L)
Port F Data Direction Register
– DDRF
Bit
Read/Write
Initial Value
7
DDF7
R/W
0
6
DDF6
R/W
0
5
DDF5
R/W
0
4
DDF4
R/W
0
3
DDF3
R/W
0
2
DDF2
R/W
0
1
DDF1
R/W
0
0
DDF0
R/W
0
DDRF
Port F Input Pins Address –
PINF
Bit
Read/Write
Initial Value
7
PINF7
R
N/A
6
PINF6
R
N/A
5
PINF5
R
N/A
4
PINF4
R
N/A
3
PINF3
R
N/A
2
PINF2
R
N/A
1
PINF1
R
N/A
0
PINF0
R
N/A
PINF
Note that PORTF and DDRF Registers are not available in ATmega103 compatibility
mode where Port F serves as digital input only.
Port G Data Register – PORTG
Bit
7
6
5
4
3
2
1
0
–
–
–
PORTG4 PORTG3 PORTG2 PORTG1 PORTG0 PORTG
Read/Write
R
R
R
R/W
R/W
R/W
R/W
R/W
Initial Value
0
0
0
0
0
0
0
0
Port G Data Direction Register
– DDRG
Bit
7
6
5
4
3
2
1
0
–
–
–
DDG4
DDG3
DDG2
DDG1
DDG0
DDRG
Read/Write
R
R
R
R/W
R/W
R/W
R/W
R/W
Initial Value
0
0
0
0
0
0
0
0
Port G Input Pins Address –
PING
Bit
7
6
5
4
3
2
1
0
–
–
–
PING4 PING3 PING2 PING1 PING0
PING
Read/Write
R
R
R
R
R
R
R
R
Initial Value
0
0
0
N/A
N/A
N/A
N/A
N/A
Note that PORTG, DDRG, and PING are not available in ATmega103 compatibility
mode. In the ATmega103 compatibility mode Port G serves its alternate functions only
(TOSC1, TOSC2, WR, RD and ALE).
87
2490G–AVR–03/04