Specifications
113
AT85C51SND3Bx
7632A–MP3–03/06
Interrupts Figure 62 shows all the device interrupts sources while Figure 63 details the endpoint
interrupt sources.
Figure 62. USB Device Controller Interrupt System
There are 2 kinds of interrupts: processing (i.e. their generation are part of the normal
processing) and exception (errors).
Processing interrupts are generated when the following events are triggered:
• VBUSTI: VBUS plug-in detection (insert, remove)
• UPRSMI: upstream resume
• EORSMI: end of resume
• WAKEUPI: Wake up
• EORSTI: end of reset (Speed Initialization)
• SOFI: start of frame (FNCERR= 0)
• MSOFI: micro start of frame (FNCERR= 0)
• SUSPI: suspend detected after 3 ms of inactivity
Exception Interrupts are generated when the following events are triggered:
• SOFI: CRC error in frame number of SOF (FNCERR= 1)
• MSOFI: CRC error in frame number of micro-SOF (FNCERR= 1)
EORSMI
UDINT.5
EORSME
UDIEN.5
MSOFI
UDINT.1
MSOFE
UDIEN.1
SOFI
UDINT.2
SOFE
UDIEN.2
WAKEUPI
UDINT.4
WAKEUPE
UDIEN.4
UPRSMI
UDINT.6
UPRSME
UDIEN.6
SUSPI
UDINT.0
SUSPE
UDIEN.0
EORSTI
UDINT.3
EORSTE
UDIEN.3
USB Device
Interrupt