English
Language : 

ATMEGA329P_14 Datasheet, PDF (90/427 Pages) ATMEL Corporation – High Performance, Low Power Atmel
ATmega329P/3290P
13.4 Register Description
13.4.1 MCUCR – MCU Control Register
Bit
7
6
5
4
3
0x35 (0x55)
JTD
BODS
BODSE
PUD
–
Read/Write
R/W
R/W
R/W
R/W
R
Initial Value
0
0
0
0
0
2
1
0
–
IVSEL
IVCE
MCUCR
R
R/W
R/W
0
0
0
13.4.2
• Bit 4 – PUD: Pull-up Disable
When this bit is written to one, the pull-ups in the I/O ports are disabled even if the DDxn and
PORTxn Registers are configured to enable the pull-ups ({DDxn, PORTxn} = 0b01). See ”Con-
figuring the Pin” on page 64 for more details about this feature.
PORTA – Port A Data Register
13.4.3
Bit
0x02 (0x22)
Read/Write
Initial Value
7
PORTA7
R/W
0
6
PORTA6
R/W
0
DDRA – Port A Data Direction Register
5
PORTA5
R/W
0
4
PORTA4
R/W
0
3
PORTA3
R/W
0
2
PORTA2
R/W
0
1
PORTA1
R/W
0
0
PORTA0
R/W
0
PORTA
13.4.4
Bit
0x01 (0x21)
Read/Write
Initial Value
7
DDA7
R/W
0
PINA – Port A Input Pins Address
6
DDA6
R/W
0
5
DDA5
R/W
0
4
DDA4
R/W
0
3
DDA3
R/W
0
2
DDA2
R/W
0
1
DDA1
R/W
0
0
DDA0
R/W
0
DDRA
13.4.5
Bit
0x00 (0x20)
Read/Write
Initial Value
7
PINA7
R/W
N/A
PORTB – Port B Data Register
6
PINA6
R/W
N/A
5
PINA5
R/W
N/A
4
PINA4
R/W
N/A
3
PINA3
R/W
N/A
2
PINA2
R/W
N/A
1
PINA1
R/W
N/A
0
PINA0
R/W
N/A
PINA
13.4.6
Bit
0x05 (0x25)
Read/Write
Initial Value
7
PORTB7
R/W
0
6
PORTB6
R/W
0
DDRB – Port B Data Direction Register
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
13.4.7
Bit
0x04 (0x24)
Read/Write
Initial Value
7
DDB7
R/W
0
PINB – Port B Input Pins Address
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
Bit
0x03 (0x23)
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
90
8021G–AVR–03/11