CHAPTER 12 USB FUNCTION CONTROLLER (USBF)
Preliminary User’s Manual U19014EJ1V0UD
349
The following flowcharts illustrate the program execution when the host is disconnected and then reconnected, and
the program execution when power is supplied.
Figure 12-7. Flowchart of Program When Host Is Disconnected and Then Reconnected
Checks status of pin
interrupt detecting host
connection status
Masks INTUSBnB and
INTRSUM interrupts
Disables USE 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
Remark
n = 0 to 2
electronic components distributor