English
Language : 

AT89C5132_06 Datasheet, PDF (71/181 Pages) ATMEL Corporation – USB Microcontroller with 64K Bytes Flash Memory
AT89C5132
15.2.1
15.2.2
Controller Interrupt Sources
There are four controller interrupt sources which can be enabled separately in USBIEN:
• SPINT: Suspend Interrupt Flag.
This flag triggers an interrupt when a USB Suspend (Idle bus for three frame periods: a J
state for 3 ms) is detected.
• SOFINT: Start Of Frame Interrupt Flag.
This flag triggers an interrupt when a USB start of frame packet has been received.
• EORINT: End Of Reset Interrupt Flag.
This flag triggers an interrupt when a End Of Reset has been detected by the USB
controller.
• WUPCPU: Wake Up CPU Interrupt Flag.
This flag triggers an interrupt when the USB controller is in SUSPEND state and is re-
activated by a non-idle signal from USB line.
Endpoint Interrupt Sources
Each endpoint supports four interrupt sources reported in UEPSTAX and combined together to
appear as a single endpoint interrupt source in UEPINT. Each endpoint interrupt can be enabled
separately in UEPIEN.
• TXCMP: Transmitted In Data Interrupt Flag.
This flag triggers an interrupt after an IN packet has been transmitted for Isochronous
endpoints or after it has been accepted (ACK’ed) by the host for Control, Bulk and Interrupt
endpoints.
• RXOUT: Received Out Data Interrupt Flag.
This flag triggers an interrupt after a new packet has been received.
• RXSETUP: Receive Setup Interrupt Flag.
This flag triggers an interrupt when a valid SETUP packet has been received from the host.
• STLCRC: Stall Sent Interrupt Flag/CRC Error Interrupt Flag.
This flag triggers an interrupt after a STALL handshake has been sent on the bus, for
Control, Bulk and Interrupt endpoints.
This flag triggers an interrupt when the last data received is corrupted for Isochronous
endpoints.
71
4173D–USB–02/06