30.5.11
Device disconnection
This chapter describes the device disconnection detection.
■ Device disconnection
Once both Mini-host pins D+ and D- become "L", the disconnection timer starts, and sets the
HSTATE:CSTAT bit to "0" when both pins detect "L" for 2.5 ms or longer, which determines the
device disconnection. The HIRQ:DIRQ flag is also set when the device is detected cut off. If the
HCNT0:DIRE bit is "1", this triggered an interrupt. Clearing the HIRQ:DIRQ flag clears the
interrupt.
When a reset is performed on the USB bus, it determines that the device is disconnected and
sets the HSTATE:CSTAT bit to "0", but the HIRQ:DIRQ bit does not become "1".
CHAPTER 30 USB Mini-host
811