HT82B40A HOLTEK [Holtek Semiconductor Inc], HT82B40A Datasheet - Page 30

no-image

HT82B40A

Manufacturer Part Number
HT82B40A
Description
I/O MCU with USB Interface
Manufacturer
HOLTEK [Holtek Semiconductor Inc]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
HT82B40A-T13D
Quantity:
2 000
The USR (USB endpoint interrupt status register) register is used to indicate which endpoint is accessed and to select
the serial bus, PS2 or USB. The endpoint request flags, EP0IF, EP1IF and EP2IF, are used to indicate 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 end-
point request flag has to be cleared to 0 .
Rev. 1.10
Bit No.
Bit No.
3, 6
0
1
2
3
4
5
6
7
0
1
2
4
5
7
MODE_CTRL0
MODE_CTRL1
URST_ FLAG
RESUME_O
RMOT_ WK
SUSPEND
PS2_DAO
PS2_CKO
PS2_DAI
PS2_CKI
USB_flag
EP0_INT
EP1_INT
EP2_INT
Label
Label
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
W
W
W
R
R
R
R
Read only, USB suspend indication. When this bit is set to 1 (set by the SIE), it in-
dicates that the USB bus has entered the suspend mode. The USB interrupt is also
triggered on any change of this bit.
USB remote wake up command. Set by the MCU to force the USB host to leave the
suspend mode. When this bit is set to 1 , a 2 s delay for clearing this bit to 0 is
needed to insure the RMWK command is accepted by SIE.
USB reset indication. This bit is set/cleared by the USB SIE. This bit is used to de-
tect which bus (PS2 or USB) is attached. When the URST is set to 1 , this indi-
cates that a USB reset has occurred (the attached bus is USB) and a USB interrupt
will be initialised.
USB resume indication. When the USB leaves the suspend mode, this bit is set to
When the RESUME is set by the SIE, an interrupt will be generated to wake-up the
MCU. In order to detect the suspend state, the MCU should set the USBCKEN and
clear SUSP2 (in the SCC register) to enable the SIE detect function. The RESUME
will be cleared while SUSP is going to 0 . When the MCU is detecting the SUSP,
the condition of RESUME (which wakes-up the MCU ) should be noted and taken
into consideration.
Read only, USBD-/DATA input
Read only, USBD+/CLK input
Data for driving the USBD-/DATA pin when working under 3D PS2 mouse function.
(Default= 1 )
Data for driving the USBD+/CLK pin when working under 3D PS2 mouse function.
(Default= 1 )
When this bit is set to 1 (set by the SIE), it indicates that 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 the SIE), it indicates that 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 the SIE), it indicates that endpoint 2 is accessed
and a USB interrupt will occur. When the interrupt has been served, this bit should
be cleared by firmware.
Reserved
00 : Non-USB mode, turn-off V33O, both D+and D- can be read and write - default
01 : Non-USB mode, has 200 ohm between VDD and V33O, both D+and D- can be
10 : USB mode, 1.5K ohm between D- and V33O, V33O output 3.3V,
11 : Non-USB mode, V33O output 3.3V, both D+and D- can be read and write
This flag is used to indicate that the MCU is in the USB mode - Bit=1
This bit is R/W by FW and will be cleared to 0 after power-on reset - Default= 0
1 (set by the SIE). This bit will appear for 20ms waiting for the MCU to detect.
read and write
both D+and D- are read only
USC (20H) Register
USR (21H) Register
30
Function
Function
HT82B40R/HT82B40A
September 4, 2009

Related parts for HT82B40A