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

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
20.4.3
7799D–AVR–11/10
Interrupts
When the USB controller is in reset state:
After setting USBE, the USB Controller enters in the Device state.
The USB Controller can at any time be reset by clearing USBE.
Two interrupts vectors are assigned to the USB controller.
Figure 20-8. USB Interrupt System
The USB module distinguishes between USB General events and USB Endpoints events.
Figure 20-9. USB General interrupt vector sources
The WAKEUP interrupt allows device wake-up from power-down mode, and is an asynchronous
interrupt, triggering each time a state change is detected on the data lines. The other interrupts
are synchronous and will be detected only if the USB clock is enabled (FRZCLK bit set).
• USBE is not set
• the USB controller clock is stopped in order to minimize the power consumption (FRZCLK=1)
• the USB controller is disabled
• USB is in the suspend mode
• the Device USB controllers internal state is reset
• The DPACC bit and the DPADD10:0 field can be set by software. The DPRAM is not cleared.
• The SPDCONF bits can be set by software
UPRSMI
UDINT.6
EORSMI
UDINT.5
WAKEUPI
UDINT.4
UDINT.3
UDINT.2
UDINT.0
EORSTI
SUSPI
SOFI
Endpoint
Interrupt
USB Device
Interrupt
UPRSME
EORSME
WAKEUPE
EORSTE
UDIEN.6
UDIEN.5
UDIEN.4
UDIEN.3
UDIEN.2
UDIEN.0
SUSPE
SOFE
ATmega8U2/16U2/32U2
Asynchronous Interrupt source
(allows the CPU to wake up from power down mode)
Interrupt Vector
USB General
USB Endpoint/Pipe
Interrupt Vector
Interrupt Vector
USB General
190

Related parts for ATMEGA16U2-16AU