English
Language : 

ATMEGA16U4_1 Datasheet, PDF (82/408 Pages) ATMEL Corporation – 8-bit Microcontroller with 16/32K Bytes of ISP Flash and USB Controller
10.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
10.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
10.4.4 Port C Data Register – PORTC
Bit
7
6
5
4
3
2
1
0
PORTC PORTC -
-
-
-
-
-
PORTC
7
6
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
10.4.5 Port C Data Direction Register – DDRC
Bit
7
6
5
4
3
2
1
0
DDC7
DDC6
-
-
-
-
-
-
DDRC
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
10.4.6 Port C Input Pins Address – PINC
Bit
7
6
5
4
3
2
1
0
PINC7 PINC6 -
-
-
-
-
-
PINC
Read/Write R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial Value N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
10.4.7
Port D Data Register – PORTD
Bit
Read/Write
Initial Value
7
PORTD
7
R/W
0
6
PORTD
6
R/W
0
5
PORTD
5
R/W
0
4
PORTD
4
R/W
0
3
PORTD
3
R/W
0
2
PORTD
2
R/W
0
1
PORTD
1
R/W
0
0
PORTD
0
R/W
0
PORTD
10.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
10.4.9
Port D Input Pins Address – PIND
Bit
Read/Write
Initial Value
7
PIND7
R/W
N/A
6
PIND6
R/W
N/A
5
PIND5
R/W
N/A
4
PIND4
R/W
N/A
3
PIND3
R/W
N/A
2
PIND2
R/W
N/A
1
PIND1
R/W
N/A
0
PIND0
R/W
N/A
PIND
82 ATmega16U4/ATmega32U4
7766D–AVR–01/09