640
32072H–AVR32–10/2012
AT32UC3A3
The data toggle sequence of the default control endpoint is cleared.
At the end of the reset process, the End of Reset (EORST) bit in UDINT interrupt is set.
During a reset, the USBB automatically switches to the Hi-Speed mode if the host is Hi-
Speed capable (the reset is called a Hi-Speed reset). The user should observe the
USBSTA.SPEED field to know the speed running at the end of the reset (EORST is one).
27.7.2.4
Endpoint reset
An endpoint can be reset at any time by writing a one to the Endpoint n Reset (EPRSTn) bit in
the UERST register. This is recommended before using an endpoint upon hardware reset or
when a USB bus reset has been received. This resets:
The internal state machine of this endpoint.
The receive and transmit bank FIFO counters.
All the registers of this endpoint (UECFGn, UESTAn, the Endpoint n Control (UECONn)
register), except its configuration (ALLOC, EPBK, EPSIZE, EPDIR, EPTYPE) and the Data
Toggle Sequence (DTSEQ) field of the UESTAn register.
Note that the interrupt sources located in the UESTAn register are not cleared when a USB bus
reset has been received.
The endpoint configuration remains active and the endpoint is still enabled.
The endpoint reset may be associated with a clear of the data toggle sequence as an answer to
the CLEAR_FEATURE USB request. This can be achieved by writing a one to the Reset Data
Toggle Set bit in the Endpoint n Control Set register (UECONnSET.RSTDTS).(This will set the
Reset Data Toggle (RSTD) bit in UECONn).
In the end, the user has to write a zero to the EPRSTn bit to complete the reset operation and to
start using the FIFO.
27.7.2.5
Endpoint activation
The endpoint is maintained inactive and reset (see
Section 27.7.2.4 for more details) as long as
it is disabled (EPENn is written to zero). DTSEQ is also reset.
endpoint.