CHAPTER 12 USB FUNCTION CONTROLLER (USBF)
Preliminary User’s Manual U19014EJ1V0UD
314
(29) UF0 GPR register (UF0GPR)
This register controls USBF and the USB interface.
This register is write-only, in 8-bit units. If this register is read, 00H is read. Be sure to clear bits 7 to 2.
FW can reset the USBF by writing 1 to bit 0 of this register. This bit is automatically cleared to 0 after 1 has
been written to it. Writing 0 to this bit is invalid.
0
UF0GPR
0
5
0
0
3
0
2
0
1
CONNECT
MRST
Address
FF2DH
After reset
00H
0
4
6
7
Bit position
Bit name
Function
1 CONNECT
This bit sets the output level of the USBPUC pin, which controls connection of the pull-up
resistor connected to D+.
0: USBPUC pin is low level
1: USBPUC pin is high level
For the connection of the USBPUC pin, refer to
12.7.6 USB connection example
.
0
MRST
Set this bit to 1 to reset USBF.
1: Reset
Actually, USBF is reset two USB clocks after this bit has been set to 1 by FW and the
write signal has become inactive.
Resetting USBF by the MRST bit while the system clock is operating has the same result
as resetting by the RESET pin (hardware reset) (register value back to default value).
However, the UF0CS and UF0BC registers are not reset by the MRST bit.
electronic components distributor