beautypg.com

Alternate functions of port c – Rainbow Electronics ATmega3290P_V User Manual

Page 71

background image

71

ATmega329/3210/649/6410

2552H–AVR–11/06

Alternate Functions of Port C

The Port C has an alternate function as SEG for the LCD Controller.

The alternate pin configuration is as follows:

• SEG – Port D, Bit 7:0

SEG, LCD front plane 5/5, 6/6, 11/7-16/12.

Table 34 and Table 35 relate the alternate functions of Port C to the overriding signals
shown in Figure 27 on page 65.

Table 32. 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 33. Port C Pins Alternate Functions (SEG refers to 100-pin/64-pin pinout)

Port Pin

Alternate Function

PC7

SEG (LCD Front Plane 5/5)

PC6

SEG (LCD Front Plane 6/6)

PC5

SEG (LCD Front Plane 11/7)

PC4

SEG (LCD Front Plane 12/8)

PC3

SEG (LCD Front Plane 13/9)

PC2

SEG (LCD Front Plane14/10)

PC1

SEG (LCD Front Plane 15/11)

PC0

SEG (LCD Front Plane 16/12)