Скачиваний:
28
Добавлен:
04.03.2014
Размер:
2.48 Mб
Скачать

ATmega8(L)

Register Description for I/O Ports

The Port B Data Register –

PORTB

The Port B Data Direction

Register – DDRB

The Port B Input Pins Address

– PINB

The Port C Data Register –

PORTC

The Port C Data Direction

Register – DDRC

The Port C Input Pins Address

– PINC

The Port D Data Register –

PORTD

Bit

7

6

5

4

3

2

1

0

 

 

PORTB7

PORTB6

PORTB5

PORTB4

PORTB3

PORTB2

PORTB1

PORTB0

PORTB

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

 

 

 

 

 

 

 

 

 

 

DDRB

 

DDB7

DDB6

DDB5

DDB4

DDB3

DDB2

DDB1

DDB0

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

 

 

 

 

 

 

 

 

 

 

PINB

 

PINB7

PINB6

PINB5

PINB4

PINB3

PINB2

PINB1

PINB0

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

 

 

PORTC6

PORTC5

PORTC4

PORTC3

PORTC2

PORTC1

PORTC0

PORTC

Read/Write

R

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

 

 

 

 

 

 

 

 

 

 

DDRC

 

DDC6

DDC5

DDC4

DDC3

DDC2

DDC1

DDC0

Read/Write

R

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

 

 

PINC6

PINC5

PINC4

PINC3

PINC2

PINC1

PINC0

PINC

Read/Write

R

R

R

R

R

R

R

R

 

Initial Value

0

N/A

N/A

N/A

N/A

N/A

N/A

N/A

 

Bit

7

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

 

 

PORTD

 

PORTD7

PORTD6

PORTD5

PORTD4

PORTD3

PORTD2

PORTD1

PORTD0

 

 

 

 

 

 

 

 

 

 

The Port D Data Direction

Register – DDRD

The Port D Input Pins Address

– PIND

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

 

 

DDD7

DDD6

DDD5

DDD4

DDD3

DDD2

DDD1

DDD0

DDRD

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

 

 

 

 

 

 

 

 

 

 

PIND

 

PIND7

PIND6

PIND5

PIND4

PIND3

PIND2

PIND1

PIND0

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

 

63

2486O–AVR–10/04

Соседние файлы в папке scamko3
  • #
    04.03.20143.83 Mб241.lib
  • #
    04.03.20143.14 Mб27ATmega128.pdf
  • #
    04.03.20142.48 Mб28ATmega8.pdf
  • #
    04.03.20141.1 Mб23Connect.lib
  • #
    04.03.201465.53 Кб23Ender's.sch
  • #
    04.03.2014491.51 Кб24MAIN_MODULE_block.sch
  • #
    04.03.201489.09 Кб23skamko.lib
  • #
    04.03.2014131.07 Кб23Slot_atm8.sch