9 speed identification, 10 usb v2.0 high speed global interrupt, 11 endpoint interrupts – Rainbow Electronics AT91CAP9S250A User Manual
Page 868

868
6264A–CAP–21-May-07
AT91CAP9S500A/AT91CAP9S250A
44.4.9
Speed Identification
The high speed reset is managed by the hardware.
At the connection, the host makes a reset which could be a classic reset (full speed) or a high
speed reset.
At the end of the reset process (full or high), the ENDRESET interrupt is generated.
Then the CPU should read the SPEED bit in UDPHS_INTSTAx to ascertain the speed mode of
the device.
44.4.10
USB V2.0 High Speed Global Interrupt
Interrupts are defined in
Section 44.5.3 ”UDPHS Interrupt Enable Register”
(UDPHS_IEN) and
in
Section 44.5.4 ”UDPHS Interrupt Status Register”
(UDPHS_INTSTA).
44.4.11
Endpoint Interrupts
Interrupts are enabled in UDPHS_IEN (see
Section 44.5.3 ”UDPHS Interrupt Enable Register”
and individually masked in UDPHS_EPTCTLENBx (see
Section 44.5.9 ”UDPHS Endpoint Con-
).
Table 44-4.
Endpoint Interrupt Source Masks
SHRT_PCKT
Short Packet Interrupt
BUSY_BANK
Busy Bank Interrupt
NAK_OUT
NAKOUT Interrupt
NAK_IN/ERR_FLUSH
NAKIN/Error Flush Interrupt
STALL_SNT/ERR_CRISO/ERR_NB_TRA
Stall Sent/CRC error/Number of Transaction
Error Interrupt
RX_SETUP/ERR_FL_ISO
Received SETUP/Error Flow Interrupt
TX_PK_RD /ERR_TRANS
TX Packet Read/Transaction Error Interrupt
TX_COMPLT
Transmitted IN Data Complete Interrupt
RX_BK_RDY
Received OUT Data Interrupt
ERR_OVFLW
Overflow Error Interrupt
MDATA_RX
MDATA Interrupt
DATAX_RX
DATAx Interrupt