beautypg.com

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

Page 61

background image

61

ATmega169V/L

2514A–AVR–08/02

Alternate Functions of Port C

The Port C has an alternate function as the SEG5:12 for the LCD Controller

Table 31. Overriding Signals for Alternate Functions in PB3..PB0

Signal
Name

PB3/MISO/
PCINT11

PB2/MOSI/
PCINT10

PB1/SCK/
PCINT9

PB0/SS/
PCINT8

PUOE

SPE • MSTR

SPE • MSTR

SPE • MSTR

SPE • MSTR

PUOV

PORTB3 • PUD

PORTB2 • PUD

PORTB1 • PUD

PORTB0 • PUD

DDOE

SPE • MSTR

SPE • MSTR

SPE • MSTR

SPE • MSTR

DDOV

0

0

0

0

PVOE

SPE • MSTR

SPE • MSTR

SPE • MSTR

0

PVOV

SPI SLAVE
OUTPUT

SPI MSTR
OUTPUT

SCK OUTPUT

0

PTOE

DIEOE

PCINT11 • PCIE1

PCINT10 • PCIE1

PCINT9 • PCIE1

PCINT8 •
PCIE1

DIEOV

1

1

1

1

DI

PCINT11 INPUT

SPI MSTR INPUT

PCINT10 INPUT

SPI SLAVE INPUT

PCINT9 INPUT

SCK INPUT

PCINT8 INPUT

SPI SS

AIO

Table 32. Port C Pins Alternate Functions

Port Pin

Alternate Function

PC7

SEG5 (LCD Front Plane 5)

PC6

SEG6 (LCD Front Plane 6)

PC5

SEG7 (LCD Front Plane 7)

PC4

SEG8 (LCD Front Plane 8)

PC3

SEG9 (LCD Front Plane 9)

PC2

SEG10 (LCD Front Plane 10)

PC1

SEG11 (LCD Front Plane 11)

PC0

SEG12 (LCD Front Plane 12)