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

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
302
ATmega32U4
• 7-6 - EPTYPE1:0 - Endpoint Type Bits
Set this bit according to the endpoint configuration:
00b: Control10b: Bulk
01b: Isochronous11b: Interrupt
• 5-1 - Reserved
The value read from these bits is always 0. Do not set these bits.
• 0 - EPDIR - Endpoint Direction Bit
Set to configure an IN direction for bulk, interrupt or isochronous endpoints.
Clear to configure an OUT direction for bulk, interrupt, isochronous or control endpoints.
• 7 - Reserved
The value read from these bits is always 0. Do not set these bits.
• 6-4 - EPSIZE2:0 - Endpoint Size Bits
Set this bit according to the endpoint size:
000b: 8 bytes100b: 128 bytes
001b: 16 bytes101b: 256 bytes
010b: 32 bytes110b: 512 bytes
011b: 64 bytes111b: Reserved. Do not use this configuration.
• 3-2 - EPBK1:0 - Endpoint Bank Bits
Set this field according to the endpoint size:
00b: One bank
01b: Double bank
1xb: Reserved. Do not use this configuration.
• 1 - ALLOC - Endpoint Allocation Bit
Set this bit to allocate the endpoint memory.
Clear to free the endpoint memory.
See Section 23.6, page 286 for more details.
• 0 - Reserved
The value read from these bits is always 0. Do not set these bits.
Bit
Read/Write
Initial Value
Bit
Initial Value
7
0
R
7
0
-
R/W
6
0
6
0
EPSIZE2:0
R/W
5
0
5
0
R/W
4
0
4
0
R/W
3
0
3
0
EPBK1:0
R/W
2
0
2
0
ALLOC
R/W
1
0
1
0
0
0
R
7766A–AVR–03/08
0
0
-
UECFG1X

Related parts for atmega32u4-16mu