[bit 1] URST: USB bus reset
It is set to USB bus whether reset is generated. It indicates "1" while the USB bus is being reset and
turns "0" when it has been completed. It is forbidden to set it to "1" when the SUSP bit in the host state
status register (HSTATE) is "1" or while a token is being executed. It is also forbidden to update the
host control registers (HCNT0, HCNT1) while it is set to "1". Only the host mode is effective. To
update them, you must set the RST bit in the UDC control register (UDCC) to "0".
URST
0
USB bus state maintenance
1
USB bus reset
[bit 0] HOST: Host mode
The LSI is set whether it is a function or Mini-HOST. Since it is not initialized due to the RST bit in the
UDC control register (UDCC), change it when the RST bit is "1".
And, if you change the mode from function mode to host mode, make a disconnection to the HOST PC
or HUB by setting the HCON bit in the UDC control register (UDCC) to "1". If you change the mode
from host mode to function mode, ensure that the SOFBUSY bit in the host status register (HSTATE) is
set to "0" and the TKNEN bit in the host token endpoint register (HTOKEN) is "000
HOST
0
Function mode
1
Host mode
CHAPTER 14 USB Mini-HOST
Operation mode
Operation mode
".
B
319