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

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
7766A–AVR–03/08
• 7-0 - DAT7:0 -Data Bits
Set by the software to read/write a byte from/to the endpoint FIFO selected by EPNUM.
• 7-3 - Reserved
The value read from these bits is always 0. Do not set these bits.
• 2-0 - BYCT10:8 - Byte count (high) Bits
Set by hardware. This field is the MSB of the byte count of the FIFO endpoint. The LSB part is
provided by the UEBCLX register.
• 7-0 - BYCT7:0 - Byte Count (low) Bits
Set by the hardware. BYCT10:0 is:
- (for IN endpoint) increased after each writing into the endpoint and decremented after each
byte sent,
- (for OUT endpoint) increased after each byte sent by the host, and decremented after each
byte read by the software.
• 7 - Reserved
The value read from these bits is always 0. Do not set these bits.
• 6-0 - EPINT6:0 - Endpoint Interrupts Bits
Set by hardware when an interrupt is triggered by the UEINTX register and if the corresponding
endpoint interrupt enable bit is set.
Cleared by hardware when the interrupt source is served.
Bit
Initial Value
Bit
Read/Write
Initial Value
Bit
Read/Write
Initial Value
Read/Write
-
BYCT D7
R
7
0
R
-
R
7
0
7
0
EPINT D6
-
BYCT D6
R
R
6
0
6
0
R
6
0
-
EPINT D5
BYCT D5
R
5
0
R
5
0
R
5
0
-
EPINT D4
BYCT D4
R
4
0
R
4
0
R
4
0
-
EPINT D3
BYCT D3
R
3
0
R
3
0
R
3
0
BYCT D10 BYCT D9
EPINT D2
BYCT D2
R
2
0
R
2
0
R
2
0
ATmega32U4
EPINT D1
BYCT D1
R
1
0
R
R
1
0
1
0
BYCT D8
EPINT D0 UEINT
BYCT D0 UEBCLX
R
0
0
R
R
0
0
0
0
UEBCHX
307

Related parts for atmega32u4-16mu