
83
ATmega128(L)
2467B–09/01
Port E Data Direction Register
– DDRE
Port E Input Pins Address –
PINE
Port F Data Register – PORTF
Port F Data Direction Register
– DDRF
Port F Input Pins Address –
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
Port G Data Direction Register
– DDRG
Port G Input Pins Address –
PING
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).
Bit 76543210
DDE7 DDE6 DDE5 DDE4 DDE3 DDE2 DDE1 DDE0 DDRE
Read/Write R/W R/W R/W R/W R/W R/W R/W R/W
Initial value 0 0 0 0 0 0 0 0
Bit 76543210
PINE7 PINE6 PINE5 PINE4 PINE3 PINE2 PINE1 PINE0 PINF
Read/WriteRRRRRRRR
Initial value N/A N/A N/A N/A N/A N/A N/A N/A
Bit 76543210
PORTF7 PORTF6 PORTF5 PORTF4 PORTF3 PORTF2 PORTF1 PORTF0 PORTF
Read/Write R/W R/W R/W R/W R/W R/W R/W R/W
Initial value 0 0 0 0 0 0 0 0
Bit 76543210
DDF7 DDF6 DDF5 DDF4 DDF3 DDF2 DDF1 DDF0 DDRF
Read/Write R/W R/W R/W R/W R/W R/W R/W R/W
Initial value 0 0 0 0 0 0 0 0
Bit 76543210
PINF7 PINF6 PINF5 PINF4 PINF3 PINF2 PINF1 PINF0 PINF
Read/WriteRRRRRRRR
Initial value N/A N/A N/A N/A N/A N/A N/A N/A
Bit 7654 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
Bit 76543210
–––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
Bit 76543210
- - - PING4 PING3 PING2 PING1 PING0 PING
Read/WriteRRRRRRRR
Initial value 0 0 0 N/A N/A N/A N/A N/A
Komentáře k této Příručce