atmega32u4-16mu ATMEL Corporation, atmega32u4-16mu Datasheet - Page 414

no-image

atmega32u4-16mu

Manufacturer Part Number
atmega32u4-16mu
Description
Atmega32u4 8-bit Avr Microcontroller With 32k Bytes Of Isp Flash And Usb Controller
Manufacturer
ATMEL Corporation
Datasheet
Note:
414
0x1B (0x3B)
0x1A (0x3A)
0x0E (0x2E)
0x0D (0x2D)
0x0C (0x2C)
0x0B (0x2B)
0x0A (0x2A)
Address
0x19 (0x39)
0x18 (0x38)
0x17 (0x37)
0x16 (0x36)
0x15 (0x35)
0x14 (0x34)
0x13 (0x33)
0x12 (0x32)
0x11 (0x31)
0x10 (0x30)
0x0F (0x2F)
0x09 (0x29)
0x08 (0x28)
0x07 (0x27)
0x06 (0x26)
0x05 (0x25)
0x04 (0x24)
0x03 (0x23)
0x02 (0x22)
0x01 (0x21)
0x00 (0x20)
1. For compatibility with future devices, reserved bits should be written to zero if accessed. Reserved I/O memory addresses
2. I/O registers within the address range $00 - $1F are directly bit-accessible using the SBI and CBI instructions. In these reg-
3. Some of the status flags are cleared by writing a logical one to them. Note that the CBI and SBI instructions will operate on
4. When using the I/O specific commands IN and OUT, the I/O addresses $00 - $3F must be used. When addressing I/O reg-
ATmega32U4
should never be written.
isters, the value of single bits can be checked by using the SBIS and SBIC instructions.
all bits in the I/O register, writing a one back into any flag read as set, thus clearing the flag. The CBI and SBI instructions
work with registers 0x00 to 0x1F only.
isters as data space using LD and ST instructions, $20 must be added to these addresses. The ATmega32U4 is a complex
microcontroller with more peripheral units than can be supported within the 64 location reserved in Opcode for the IN and
OUT instructions. For the Extended I/O space from $60 - $1FF in SRAM, only the ST/STS/STD and LD/LDS/LDD instruc-
tions can be used.
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Name
PORTD
PORTC
PORTF
PORTE
PORTB
PCIFR
DDRD
DDRC
TIFR4
TIFR3
TIFR2
TIFR1
TIFR0
DDRF
DDRE
DDRB
PINF
PINE
PIND
PINC
PINB
PORTF7
PORTD7
PORTC7
PORTB7
OCF4D
Bit 7
PIND7
PINC7
PINB7
PINF7
DDD7
DDC7
DDF7
DDB7
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
PORTE6
PORTD6
PORTC6
PORTB6
PORTF6
OCF4A
Bit 6
PINF6
PINE6
PIND6
PINC6
PINB6
DDF6
DDE6
DDD6
DDC6
DDB6
-
-
-
-
-
-
-
-
-
-
-
-
PORTD5
PORTF5
PORTB5
OCF4B
Bit 5
PINF5
PIND5
PINB5
DDD5
DDB5
DDF5
ICF3
ICF1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
PORTD4
PORTF4
PORTB4
Bit 4
PIND4
PINB4
PINF4
DDD4
DDB4
DDF4
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
PORTD3
PORTB3
OCF3C
OCF1C
PIND3
Bit 3
DDD3
PINB3
DDB3
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
PORTE2
PORTD2
PORTB2
OCF3B
OCF2B
OCF1B
OCF0B
Bit 2
PINE2
PIND2
PINB2
TOV4
DDE2
DDD2
DDB2
-
-
-
-
-
-
-
-
-
-
-
-
-
-
PORTF1
PORTD1
PORTB1
OCF3A
OCF2A
OCF1A
OCF0A
Bit 1
PIND1
PINB1
PINF1
DDD1
DDB1
DDF1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
PORTD0
PORTF0
PORTB0
Bit 0
PCIF0
PINF0
PIND0
PINB0
TOV3
TOV2
TOV1
TOV0
DDF0
DDD0
DDB0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
7766A–AVR–03/08
Page

Related parts for atmega32u4-16mu