beautypg.com

Port c, The port c data register - portc – Rainbow Electronics ATmega103L User Manual

Page 82

background image

ATmega603/103

82

Figure 60. Port B Schematic Diagram (Pin PB7)

Port C

PORT C is an 8-bit Output port.

The Port C pins have alternate functions related to the optional external data SRAM. When using the device with external
SRAM, Port C outputs the high-order address byte during accesses to external data memory. When a reset condition
becomes active, the port pins are not tristated, but the pins will assume their initial value after two stable clock cycles.

The Port C Data Register - PORTC

Bit

7

6

5

4

3

2

1

0

$15 ($35)

PORTC7

PORTC6

PORTC5

PORTC4

PORTC3

PORTC2

PORTC1

PORTC0

PORTC

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

DA

T

A

B

U

S

D

D

Q

Q

RESET

RESET

C

C

WD

WP

RD

RP

RL

MOS
PULL-
UP

PB7

R

R

WP:
WD:
RL:
RP:
RD:

WRITE PORTB
WRITE DDRB
READ PORTB LATCH
READ PORTB PIN
READ DDRB

DDB7

PORTB7

COMP. MATCH 2

COM20

COM21

OUTPUT

MODE SELECT