Universal Serial Bus
M30240 Group
Rev.1.00 Sep 24, 2003 Page 321 of 360
3.2.12 USB Suspend Interrupt
In the event that a suspend signal is received from the host CPU, the USB function control unit sets the
interrupt status flag of the USB Suspend Interrupt Status register (SUSPIC) and the USB suspend signal
detection flag of the USB power processing register (USBPM) to “1.” The USB suspend interrupt
processing routine should then be called.
Figure 3.34 to Figure 3.36 show the procedures for initializing the USB Suspend interrupt.
Figure 3.34: Initializing the USB Suspend interrupt (1)
Initialize USB Interrupt Control Register
0
USB Suspend Interrupt Control Register Address
SUSPIC 0044
16
Interrupt Priority Lefvel Selection Bit
b2 b1 b0
0 0 0 : Level 0 (Interrupt disabled)
0 0 1 : Level 1
0 1 0 : Level 2
0 1 1 : Level 3
1 0 0 : Level 4
1 0 1 : Level 5
1 1 0 : Level 6
1 1 1 : Level 7
Interrupt Request Bit
0 : No interrupt requests
b7 b0
I = 1
Main
NOP
NOP