Rev. 1.10
112
November 26, 2019
Rev. 1.10
113
November 26, 2019
HT68FB240
USB Low Speed Flash MCU
STL Register
Bit
7
6
5
4
3
2
1
0
Name
—
STLO2
STLO1
STLO0
—
STLI2
STLI1
STLI0
R/W
—
R/W
R/W
R/W
—
R/W
R/W
R/W
POR
—
x
x
x
—
x
x
x
"x" unknown
Bit 7
Unimplemented, read as "0"
Bit 6~4
STLO3~STLO0:
FIFO OUT stall endpoints indication bits
0: not stall
1: stall
The STL register shows if the corresponding endpoint has worked properly or not. As
soon as endpoint improper operation occurs, the related bit in the STL register has to
be set high. The STL register bits will be cleared by a USB reset signal and a setup
token event.
Bit 3
Unimplemented, read as "0"
Bit 2~0
STLI3~STLI0:
FIFO IN stall endpoints indication bits
0: not stall
1: stall
The STL register shows if the corresponding endpoint has worked properly or not. As
soon as endpoint improper operation occurs, the related bit in the STL register has to
be set high. The STL register bits will be cleared by a USB reset signal and a setup
token event.
SIES Register
Bit
7
6
5
4
3
2
1
0
Name
NMI
CRCF
—
NAK
IN
OUT
ERR
ASET
R/W
R/W
R/W
—
R
R
R/W
R/W
R/W
POR
x
x
—
x
x
x
x
x
"x" unknown
Bit 7
NMI:
NAK token interrupt mask flag
0: interrupt enable
1: interrupt disable
If this bit set, when the device sent a NAK token to the host, an interrupt will be
disabled. Otherwise if this bit is cleared, when the device sends a NAK token to the
host, it will enter the interrupt sub-routine. This bit is used for all endpoint.
Bit 6
CRCF:
CRC error detection flag
0: no error
1: error
This bit will be set to "1" when there are the following three conditions happened:
CRC error, PID error, Bit stuffing error. This bit is set by SIE and cleared by F/W.
Bit 5 U
nimplemented, read as "0"
Bit 4
NAK:
ACK error detection flag
0: no error
1: error
This bit will set to "1" once SIE discover there are some error condition so the SIE is
not response (NAK or ACK or DATA) for the USB token. This bit is set by SIE and
cleared by F/W.
Bit 3
IN:
Current USB receiving signal indicator
0: low
1: high
This bit is used to indicate the current USB receiving signal from PC host is IN token.