Figure 20.22 Sample Flowchart For Changing The State From Usb Suspend To Standby - 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
Normal state
No
IRQ1 interrupt?
Normal operation

Figure 20.22 Sample Flowchart for Changing the State from USB Suspend to Standby

Rev. 4.00 Sep. 14, 2005 Page 792 of 982
REJ09B0023-0400
IRQ1 interrupt routine
Yes
Clear IRR0/IRQ1R of INTC
Save SSR and SPC
to memory
Set SR/I[3:0] to the IRQ1
IRR0/IRQ0R of INTC?
1
Clear IRR0/IRQ0R of INTC
Clear USBIFR2/SUSPS and
AWAKE (clear detection of USB
suspend and AWAKE signals)
RTE instruction
priority
0
Set STBCR/STBY
SLEEP instruction
Standby mode

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sh7641

Table of Contents