Port e data direction register – ddre, Port e input pins address – pine, Port f data register – portf – Rainbow Electronics ATmega128L User Manual

Page 83: Port f data direction register – ddrf, Port f input pins address – pinf, Port g data register – portg, Port g data direction register – ddrg, Port g input pins address – ping, Atmega128(l)

Advertising
background image

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

7

6

5

4

3

2

1

0

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

7

6

5

4

3

2

1

0

PINE7

PINE6

PINE5

PINE4

PINE3

PINE2

PINE1

PINE0

PINF

Read/Write

R

R

R

R

R

R

R

R

Initial value

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

Bit

7

6

5

4

3

2

1

0

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

7

6

5

4

3

2

1

0

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

7

6

5

4

3

2

1

0

PINF7

PINF6

PINF5

PINF4

PINF3

PINF2

PINF1

PINF0

PINF

Read/Write

R

R

R

R

R

R

R

R

Initial value

N/A

N/A

N/A

N/A

N/A

N/A

N/A

N/A

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

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

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

Advertising