M30245_06 RENESAS [Renesas Technology Corp], M30245_06 Datasheet - Page 176

no-image

M30245_06

Manufacturer Part Number
M30245_06
Description
RENESAS 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/20 SERIES
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
M30245 Group
Rev.2.00 Oct 16, 2006
REJ09B0340-0200
Figure 2.8.29. USB suspend interrupt request processing routine (2)
(5) USB Resume Interrupt Request Processing Routine
When the resume signal is received from the host CPU during the USB suspend mode (when de-
tected any bus activity on D+/D- line in suspend detect state), the USB resume interrupt request
occurs. The USB suspend status flag is automatically set to “0” at this time.
The USB resume interrupt request processing routine is shown in Figure 2.8.30.
b7
Stop all clocks
Execute the interrupt process
for return from suspend state
Restore the settings changed for stop mode as required.
Insert at least four NOPs following JMP.B instruction after the instruction that sets the all clock stop control bit to
0
page 167 of 354
0
0
Interrupt enable flag
Protect disabled, etc.
0
USB suspend interrupt request process is complete
b0
1
All clock stop control bit
System clock control register 1 [Address 0007
CM1
1: All clocks off (stop mode)
Wait for the interrupt for return from suspend state
Shift to stop mode
Continued from the previous page
Interrupt enable flag (I)
“0”
the interrupt for return from suspend state occurs
(USB resume/remote wakeup)
16
“1”
]
“1”
.
2. USB function

Related parts for M30245_06