ATMEGA48V_11 ATMEL [ATMEL Corporation], ATMEGA48V_11 Datasheet - Page 87

no-image

ATMEGA48V_11

Manufacturer Part Number
ATMEGA48V_11
Description
8-bit Atmel Microcontroller with 4/8/16K Bytes In-System Programmable Flash
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
14.4
14.4.1
14.4.2
14.4.3
14.4.4
14.4.5
14.4.6
14.4.7
2545T–AVR–05/11
Register description
MCUCR – MCU control register
PORTB – The port B data register
DDRB – The port B data direction register
PINB – The port B input pins address
PORTC – The port C data register
DDRC – The port C data direction register
PINC – The port C input pins address
• 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
figuring the pin” on page 72
Bit
0x35 (0x55)
Read/write
Initial value
Bit
0x05 (0x25)
Read/write
Initial value
Bit
0x04 (0x24)
Read/write
Initial value
Bit
0x03 (0x23)
Read/write
Initial value
Bit
0x08 (0x28)
Read/write
Initial value
Bit
0x07 (0x27)
Read/write
Initial value
Bit
0x06 (0x26)
Read/write
Initial value
PORTB7
PINB7
DDB7
R/W
R/W
N/A
R
7
0
R
R
R
R
7
0
7
0
7
7
0
7
0
7
0
PORTB6
PORTC6
PINB6
PINC6
DDB6
DDC6
R/W
R/W
R/W
R/W
N/A
N/A
R
R
R
6
0
6
0
6
6
0
6
0
6
6
0
for more details about this feature.
PORTB5
PORTC5
PINB5
PINC5
DDB5
DDC5
R/W
R/W
R/W
R/W
N/A
N/A
R
R
5
0
5
0
5
5
0
5
0
5
R
5
0
PORTB4
PORTC4
PINB4
PINC4
DDB4
DDC4
R/W
R/W
R/W
R/W
N/A
N/A
R
R
4
0
4
0
4
4
0
4
0
4
PUD
R/W
4
0
PORTB3
PORTC3
PINB3
PINC3
DDB3
DDC3
R/W
R/W
R/W
R/W
N/A
N/A
R
R
3
0
3
0
3
3
0
3
0
3
R
3
0
PORTB2
PORTC2
PINB2
PINC2
DDB2
DDC2
R/W
R/W
R/W
R/W
ATmega48/88/168
N/A
N/A
R
R
2
0
2
0
2
2
0
2
0
2
R
2
0
PORTB1
PORTC1
PINB1
PINC1
DDB1
DDC1
IVSEL
R/W
R/W
R/W
R/W
N/A
N/A
R/W
R
R
1
0
1
0
1
1
0
1
0
1
1
0
PORTB0
PORTC0
PINB0
PINC0
DDB0
DDC0
IVCE
R/W
R/W
R/W
R/W
R/W
N/A
N/A
R
R
0
0
0
0
0
0
0
0
0
0
0
0
MCUCR
PORTB
PORTC
DDRB
DDRC
PINB
PINC
“Con-
87

Related parts for ATMEGA48V_11