Figure 20.23 sample flowchart for awake – Renesas SH7641 User Manual

Page 843

Advertising
background image

Section 20 USB Function Module

Rev. 4.00 Sep. 14, 2005 Page 793 of 982

REJ09B0023-0400

Normal routine

IRQ0 interrupt routine

IRQ1interrupt routine

Normal state

or standby mode

Clear IRR0/IRQ0R of INTC

Clear IRR0/IRQ1R of INTC

Clear USBIFR2/SUSPS

and AWAKE

Set SR/I[3:0] to the IRQ0

priority

RTE instruction

RTE instruction

RTE instruction

Restore SSR

and SPC

from memory

Clear USBIFR2/SUSPS

and AWAKE

IRQ0 interrupt?

IRR0/IRQ1R of INTC?

No

0

1

Yes

Normal operation

Figure 20.23 Sample Flowchart for AWAKE

Advertising
This manual is related to the following products: