beautypg.com

Alternate functions of port g, Atmega169v/l – Rainbow Electronics Atmega169L User Manual

Page 69

background image

69

ATmega169V/L

2514A–AVR–08/02

Alternate Functions of Port G

The alternate pin configuration is as follows:

The alternate pin configuration is as follows:

• RESET – Port G, Bit 5

RESET, Reset pin: When the RSTDISBL Fuse is programmed, this pin functions as a
input only I/O pin, and the part will have to rely on Power-on Reset and Brown-out Reset
as its reset sources. When the RSTDISBL Fuse is unprogrammed, the reset circuitry is
connected to the pin, and the pin can not be used as an input I/O pin.

If PG5 is used as a Reset pin, then PING5 will read 0.

• T0/SEG23 – Port G, Bit 4

T0, Timer/Counter0 Counter Source.

SEG23, LCD front plane 23

• T1/SEG24 – Port G, Bit 3

T1, Timer/Counter1 Counter Source.

SEG24, LCD front plane 24

Table 43. Overriding Signals for Alternate Functions in PF3..PF0

Signal
Name

PF3/ADC3

PF2/ADC2

PF1/ADC1

PF0/ADC0

PUOE

0

0

0

0

PUOV

0

0

0

0

DDOE

0

0

0

0

DDOV

0

0

0

0

PVOE

0

0

0

0

PVOV

0

0

0

0

PTOE

DIEOE

0

0

0

0

DIEOV

0

0

0

0

DI

AIO

ADC3 INPUT

ADC2 INPUT

ADC1 INPUT

ADC0 INPUT

Table 44. Port G Pins Alternate Functions

Port Pin

Alternate Function

PG5

RESET (Reset pin)

PG4

T0/SEG23 (Timer/Counter0 Clock Input or LCD Front Plane 23)

PG3

T1/SEG24 (Timer/Counter1 Clock Input or LCD Front Plane 24)

PG2

SEG4 (LCD Front Plane 4)

PG1

SEG13 (LCD Front Plane 13)

PG0

SEG14 (LCD Front Plane 14)