AT90PWM2/3/2B/3B
11.4 Register Description for I/O-Ports
11.4.1
Port B Data Register – PORTB
Bit
Read/Write
Initial Value
7
PORTB7
R/W
0
6
PORTB6
R/W
0
5
PORTB5
R/W
0
4
PORTB4
R/W
0
3
PORTB3
R/W
0
2
PORTB2
R/W
0
1
PORTB1
R/W
0
0
PORTB0
R/W
0
PORTB
11.4.2
Port B Data Direction Register – DDRB
Bit
Read/Write
Initial Value
7
DDB7
R/W
0
6
DDB6
R/W
0
5
DDB5
R/W
0
4
DDB4
R/W
0
3
DDB3
R/W
0
2
DDB2
R/W
0
1
DDB1
R/W
0
0
DDB0
R/W
0
DDRB
11.4.3
Port B Input Pins Address – PINB
Bit
Read/Write
Initial Value
7
PINB7
R/W
N/A
6
PINB6
R/W
N/A
5
PINB5
R/W
N/A
4
PINB4
R/W
N/A
3
PINB3
R/W
N/A
2
PINB2
R/W
N/A
1
PINB1
R/W
N/A
0
PINB0
R/W
N/A
PINB
11.4.4
Port C Data Register – PORTC
Bit
Read/Write
Initial Value
7
PORTC7
R/W
0
6
PORTC6
R/W
0
5
PORTC5
R/W
0
4
PORTC4
R/W
0
3
PORTC3
R/W
0
2
PORTC2
R/W
0
1
PORTC1
R/W
0
0
PORTC0
R/W
0
PORTC
11.4.5
Port C Data Direction Register – DDRC
Bit
Read/Write
Initial Value
7
DDC7
R/W
0
6
DDC6
R/W
0
5
DDC5
R/W
0
4
DDC4
R/W
0
3
DDC3
R/W
0
2
DDC2
R/W
0
1
DDC1
R/W
0
0
DDC0
R/W
0
DDRC
11.4.6
Port C Input Pins Address – PINC
Bit
Read/Write
Initial Value
7
PINC7
R/W
N/A
6
PINC6
R/W
N/A
5
PINC5
R/W
N/A
4
PINC4
R/W
N/A
3
PINC3
R/W
N/A
2
PINC2
R/W
N/A
1
PINC1
R/W
N/A
0
PINC0
R/W
N/A
PINC
11.4.7
Port D Data Register – PORTD
Bit
Read/Write
Initial Value
7
PORTD7
R/W
0
6
PORTD6
R/W
0
5
PORTD5
R/W
0
4
PORTD4
R/W
0
3
PORTD3
R/W
0
2
PORTD2
R/W
0
1
PORTD1
R/W
0
0
PORTD0
R/W
0
PORTD
11.4.8
Port D Data Direction Register – DDRD
Bit
Read/Write
Initial Value
7
DDD7
R/W
0
6
DDD6
R/W
0
5
DDD5
R/W
0
4
DDD4
R/W
0
3
DDD3
R/W
0
2
DDD2
R/W
0
1
DDD1
R/W
0
0
DDD0
R/W
0
DDRD
80
4317K–AVR–03/2013