Rev. 1.10
110
November 26, 2019
Rev. 1.10
111
November 26, 2019
HT68FB240
USB Low Speed Flash MCU
Bit 4
SELUSB:
USB mode and V33O on/off select bit
0: not USB
mode,
turn-off V33O
1: USB
mode,
turn-on V33O
When the
V33C
bit is set high, the USB and V33O functions is selected and the pin-shared
pins, UDN/GPIO0 and UDP/GPIO1, will become the UDN and UDP pins for the USB.
SELUSB SELPS2
USB and PS2 mode description
0
0
1.No mode supported
2.V33O pin not output and it will floating
3.UDN/GPIO0 and UDP/GPIO1 pins cann’t output
0
1
1.PS2 mode
2.V33O pin output VDD
3.UDN/GPIO0 and UDP/GPIO1 pins will become the GPIO0 and
GPIO1 pins, which can output by firmware
1
x
1.USB mode
2.V33O output 3.3V
3.UDN/GPIO0 and UDP/GPIO1 pins will become the UDN and
UDP pins
x: don’t care
Bit 3
RESUME:
USB resume indication bit
0: SUSP bit goes to "0"
1: leave the suspend mode
When the USB leaves the suspend mode, this bit is set to "1" (set by SIE). When the
RESUME is set by SIE, an interrupt will be generated to wake-up the MCU. In order
to detect the suspend state, the MCU should set USBCKEN and clear SUSP2 (in the
UCC register) to enable the SIE detect function. RESUME will be cleared when the
SUSP goes to "0". When the MCU is detecting the SUSP, the condition of RESUME
(causes the MCU to wake-up) should be noted and taken into consideration.
Bit 2
URST:
USB reset indication bit
0: no USB reset
1: USB reset occurred
This bit is set/cleared by the USB SIE. This bit is used to detect a USB reset event on
the USB bus. When this bit is set to "1", this indicates that a USB reset has occurred
and that a USB interrupt will be initialized.
Bit 1
RMWK:
USB remote wake-up command
0: no remote wake-up
1: remote wake-up
It is set by MCU to leave the USB host leaving the suspend mode. Indicate that the
USB host leaves the suspend mode.
Bit 0
SUSP:
USB suspend indication
0: not in the suspend mode
1: enter the suspend mode
When this bit is set to 1 (set by SIE), it indicates that the USB bus has entered the
suspend mode. The USB interrupt is also triggered when this bit changes from low to
high.