Datasheet

SAM3X / SAM3A [DATASHEET]
Atmel-11057C-ATARM-SAM3X-SAM3A-Datasheet_23-Mar-15
1060
There are two kinds of general interrupts: processing, i.e. their generation is part of the normal processing, and
exception, i.e. errors (not related to CPU exceptions).
The processing general interrupts are:
The ID Transition Interrupt (UOTGHS_SR.IDTI)
The VBus Transition Interrupt (UOTGHS_SR.VBUSTI)
The SRP Interrupt (UOTGHS_SR.SRPI)
The Role Exchange Interrupt (UOTGHS_SR.ROLEEXI)
The exception general interrupts are:
The VBus Error Interrupt (UOTGHS_SR.VBERRI)
The B-Connection Error Interrupt (UOTGHS_SR.BCERRI)
The HNP Error Interrupt (UOTGHS_SR.HNPERRI)
The Suspend Time-Out Interrupt (UOTGHS_SR.STOI)
39.5.1.4 MCU Power Modes
USB Suspend Mode
In peripheral mode, the Suspend Interrupt bit in the Device Global Interrupt register (UOTGHS_DEVISR.SUSP)
indicates that the USB line is in suspend mode. In this case, the transceiver is automatically set in suspend mode
to reduce the consumption.
Clock Frozen
The UOTGHS can be frozen when the USB line is in the suspend mode, by writing a one to the
UOTGHS_CTRL.FRZCLK bit, which reduces the power consumption.
In this case, it is still possible to access the following elements:
The UOTGHS_CTRL.OTGPADE, UOTGHS_CTRL.VBUSPO, UOTGHS_CTRL.FRZCLK,
UOTGHS_CTRL.USBE, UOTGHS_CTRL.UIDE, UOTGHS_CTRL.UIMOD and UOTGHS_DEVCTRL.LS
bits
Moreover, when UOTGHS_CTRL.FRZCLK is written to one, only the asynchronous interrupt sources may trigger
the USB interrupt:
The ID Transition Interrupt (UOTGHS_SR.IDTI)
The VBus Transition Interrupt (UOTGHS_SR.VBUSTI)
The Wake-up Interrupt (UOTGHS_DEVISR.WAKEUP)
The Host Wake-up Interrupt (UOTGHS_HSTISR.HWUPI)