Usb Resume Interrupt - Renesas M16C Series User Manual

16-bit single-chip microcomputer
Hide thumbs Also See for M16C Series:
Table of Contents

Advertisement

M30240 Group

3.2.13 USB Resume Interrupt

If a resume signal is received from the host CPU while in the suspend mode, the USB Function Control
unit sets the USB Resume Signal Interrupt Status Flag of the USB Interrupt Status Register 2 (USBIS2)
and the USB Resume Signal Detection Flag of the USB Power Processing Register (USBPM) to "1".
The USB Resume Interrupt Processing Routine should then be executed.
Figure 3.37 shows the procedures for establishing within the USB Resume Interrupt Processing
Routine.
Clearing the Protect Register
b7
Setting the Frequency Synthesizer Control Register
b7
1 0 0
Disable Protect Register
b7
Figure 3.37: Initializing the USB Resume interrupt (1)
Rev.1.00 Sep 24, 2003 Page 324 of 360
Resume Interrupt Signal Routine
NOP
NOP
NOP
NOP
b0
Protect Register
0
1
PRCR
Enable writing to the System Clock Control Registers 0 and 1, and the Frequency
Synthesizer Related Register
1 : Writing Enabled
b0
Frequency Synthesizer Control Register
1
0
FSC
Frequency Synthesizer Control Bit
1 : Enabled
b0
Protect Register
0
0
PRCR
Enable writing to the System Clock Control Registers 0 and 1, and the Frequency
Synthesizer Related Register
0 : Writing Disabled
2ms Wait
Continued on next page
Address
000A
16
Address
03DC
16
Address
000A
16
Universal Serial Bus

Advertisement

Table of Contents
loading

Table of Contents