ATMEGA16U2-16AU Atmel, ATMEGA16U2-16AU Datasheet - Page 216

no-image

ATMEGA16U2-16AU

Manufacturer Part Number
ATMEGA16U2-16AU
Description
8-bit Microcontrollers - MCU 16K Flash
Manufacturer
Atmel
Datasheet

Specifications of ATMEGA16U2-16AU

Product Category
8-bit Microcontrollers - MCU
Rohs
yes
Core
AVR
Data Bus Width
8 bit
Program Memory Size
16 KB
Data Ram Size
1.25 KB
Data Rom Size
512 B
Program Memory Type
Flash
Factory Pack Quantity
1250
21.18.12 UECFG1X – USB Endpoint Configuration 1 Register
7799D–AVR–11/10
• Bit 7 – Res: Reserved
This bit is reserved and will always read as zero.
• Bit 6:4 – EPSIZE[2:0]: Endpoint Size Bits
These bits configure the endpoint size for the selected endpoint as shown in
Table 21-3.
• Bits 3:2 – EPBK[1:0]: Endpoint Bank Bits
These bits configure the number of banks that is allocated to the selected endpoint as shown in
Table
Table 21-4.
• Bit 1 – ALLOC: Endpoint Allocation Bit
Writing this to one allows to allocate the specified amount of memory (endpoint size x number of
banks) for the selected endpoint. Writing this bit to zero allows to free the previously allocated
memory for the selected endpoint.
See Section 21.6, page 198 for more details.
• Bit 0 – Res: Reserved
This bit is reserved and will always read as zero.
Bit
(0xED)
Read/Write
Initial Value
EPSIZE2
21-3.
EPBK1
0
0
0
0
1
1
1
1
0
0
1
1
R
7
0
EPSIZE[2:0] Bits Settings
-
EPBK[1:0] Bits Settings
R/W
6
0
EPSIZE1
0
0
1
1
0
0
1
1
EPSIZE[2:0]
R/W
5
0
EPBK0
0
1
0
1
R/W
4
0
EPSIZE0
0
1
0
1
0
1
0
1
R/W
Endpoint Size
One Bank
Two Banks
Reserved
ATmega8U2/16U2/32U2
3
0
EPBK1:0
Endpoint Size
8 Bytes
16 Bytes
32 Bytes
64 Bytes
Reserved.
R/W
2
0
ALLOC
R/W
1
0
Table
R
0
0
-
21-3.
UECFG1X
216

Related parts for ATMEGA16U2-16AU