Datasheet

V850ES/JG3-H, V850ES/JH3-H CHAPTER 21 USB FUNCTION CONTROLLER (USBF)
R01UH0042EJ0500 Rev.5.00 Page 1179 of 1513
Aug 12, 2011
The following flowcharts illustrate the program execution when the host is disconnected and then reconnected, and the
program execution when power is supplied.
Figure 21-12. Flowchart of Program When Host Is Disconnected and Then Reconnected
Checks status of pin
interrupt detecting host
connection status
Masks INTUSBF0 and
INTUSBF1 interrupts
Disables USB bus, enables
measures against floating
Yes
Host disconnected?
No
START
Initialization processing
of register area
END
Checks status of pin
interrupt detecting host
connection status
Unmasks USB-related
interrupts and
discards interrupts
Automatic device setup
by Plug&Play
Yes
Host connected?
No