Figure 20.23 Sample Flowchart For Awake - Renesas HD6417641 Hardware Manual

32-bit risc microcomputer superh risc engine family / sh7641 series
Table of Contents

Advertisement

Section 20 USB Function Module
Normal routine
IRQ1interrupt routine
IRQ0 interrupt routine
Normal state
or standby mode
Yes
No
IRQ0 interrupt?
Clear IRR0/IRQ0R of INTC
Set SR/I[3:0] to the IRQ0
priority
1
IRR0/IRQ1R of INTC?
0
Clear USBIFR2/SUSPS
Clear IRR0/IRQ1R of INTC
and AWAKE
Clear USBIFR2/SUSPS
RTE instruction
and AWAKE
Restore SSR
and SPC
from memory
RTE instruction
RTE instruction
Normal operation

Figure 20.23 Sample Flowchart for AWAKE

Rev. 4.00 Sep. 14, 2005 Page 793 of 982
REJ09B0023-0400

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sh7641

Table of Contents