HT46RB50 Holtek Semiconductor, HT46RB50 Datasheet - Page 27
![no-image](/images/no-image-200.jpg)
HT46RB50
Manufacturer Part Number
HT46RB50
Description
A/D Type USB 8-Bit MCU
Manufacturer
Holtek Semiconductor
Datasheet
1.HT46RB50.pdf
(53 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
HT46RB50
Manufacturer:
TI
Quantity:
5 580
Company:
Part Number:
HT46RB50
Manufacturer:
HOLTEK
Quantity:
6
The USR (USB endpoint interrupt status register) register is used to indicate which endpoint is accessed and then se-
lects A/D converter operation modes. The endpoint request flags (EP0IF, EP1IF, EP2IF and EP3IF) are used to indi-
cate which endpoints are accessed. If an endpoint is accessed, the related endpoint request flag will be set to 1 and
the USB interrupt will occur (if the USB interrupt is enabled and the stack is not full). When the active endpoint request
flag is served, the endpoint request flag has to be cleared to 0 .
Rev. 1.10
Bit No.
Bit No.
4~7
0
1
2
3
4
5
6
7
0
1
2
3
RESUME
RMWK
SUSP
URST
EP0IF
EP1IF
EP2IF
EP3IF
Label
Label
V33C
URD
PLL
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R
R
Read only, USB suspend indication. When this bit is set to 1 (set by SIE), it indi-
cates that the USB bus enters the suspend mode. The USB interrupt is also trig-
gered on any changes of this bit.
USB remote wake-up command. It is set by the MCU to force the USB host leaving
the suspend mode. Set RMWK bit to 1 to enable remote wake-up. When this bit
is set to 1 , a 2 s delay for clearing this bit to 0 is needed to insure that the
RMWK command is accepted by the SIE.
USB reset indication. This bit is set/cleared by USB SIE. When the URST is set to
ized.
USB resume indication. When the USB leaves the suspend mode, this bit is set to
When the RESUME is set by SIE, an interrupt will be generated to wake-up the
MCU. In order to detect the suspend state, MCU should set the USBCKEN and
SUSP2 (in the SCC register) to enable the SIE detect function. The RESUME will
be cleared while the SUSP is set to 0 . When MCU detects the SUSP, the RE-
SUME (which causes MCU to wake-up) should be remembered and token into
consideration.
0/1: Turn-off/on V33O output
0:Turn-on the PLL (default mode); 1: turn-of the PLL
Undefined bit, read as 0
USB reset signal control function definition
1: USB reset signal will reset the MCU
0: USB reset signal cannot reset the MCU
When this bit is set to 1 (set by SIE), it indicates that the endpoint 0 is accessed
and a USB interrupt will occur. When the interrupt has been served, this bit should
be cleared by firmware.
When this bit is set to 1 (set by SIE), it indicates that the endpoint 1 is accessed
and a USB interrupt will occur. When the interrupt has been served, this bit should
be cleared by firmware.
When this bit is set to 1 (set by SIE), it indicates that the endpoint 2 is accessed
and a USB interrupt will occur. When the interrupt has been served, this bit should
be cleared by firmware.
When this bit is set to 1 (set by SIE), it indicates that the endpoint 3 is accessed
and a USB interrupt will occur. When the interrupt has been served, this bit should
be cleared by firmware.
Undefined bit, read as 0
1 , this indicates that a USB reset has occurred and a USB interrupt will be initial-
1 (set by SIE). This bit will appear for 20ms, waiting for the MCU to detect it.
USC (20H) Definitions
USR (21H) Definitions
27
Function
Function
September 7, 2006
HT46RB50