Rev.2.00 Oct 16, 2006 page 167 of 354
REJ09B0340-0200
M30245 Group
2. USB function
(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.
Figure 2.8.29. USB suspend interrupt request processing routine (2)
Stop all clocks
System clock control register 1 [Address 0007
16
]
CM1
All clock stop control bit
1: All clocks off (stop mode)
Insert at least four NOPs following JMP.B instruction after the instruction that sets the all clock stop control bit to
“1”
.
b7
b0
1
0
0
0
0
•
Shift to stop mode
Wait for the interrupt for return from suspend state
Restore the settings changed for stop mode as required.
Interrupt enable flag (I)
←
“1”
Continued from the previous page
Interrupt enable flag
←
“0”
Protect disabled, etc.
Execute the interrupt process
for return from suspend state
the interrupt for return from suspend state occurs
(USB resume/remote wakeup)
USB suspend interrupt request process is complete
Содержание M16C FAMILY
Страница 12: ...Chapter 1 Hardware...
Страница 13: ...See M30245 group datasheet...
Страница 14: ...Chapter 2 Peripheral Functions Usage...
Страница 303: ...THIS PAGE IS BLANK FOR REASONS OF LAYOUT...
Страница 304: ...Chapter 3 Examples of Peripheral Functions Applications...
Страница 340: ...Chapter 4 External Buses...
Страница 361: ...THIS PAGE IS BLANK FOR REASONS OF LAYOUT...
Страница 362: ...Chapter 5 Standard Characteristics...
Страница 369: ...1753 Shimonumabe Nakahara ku Kawasaki shi Kanagawa 211 8668 Japan M30245 Group REJ09B0340 0200 User s Manual...