HT45B0K Holtek Semiconductor, HT45B0K Datasheet - Page 9

no-image

HT45B0K

Manufacturer Part Number
HT45B0K
Description
SPI to USB Bridge
Manufacturer
Holtek Semiconductor
Datasheet
HT45B0K
SPI to USB Bridge
Rev 1.00
USR Register
Name
POR
R/W
Bit
Bit 2
Bit 1
Bit 0
The USR (USB endpoint interrupt status register) register is consisted of the endpoint request
fl ags (EP0IF~EP5IF) used to indicate which endpoint is accessed. When an endpoint is accessed,
the related endpoint request fl ag will be set to 1 by SIE and a USB interrupt will be generated if
the control bits related to the USB interrupt are enabled and the stack in the host MCU is not full.
When the active endpoint request fl ag is serviced, the endpoint request fl ag has to be cleared to 0
by application program.
USR Register
Bit 7~6
Bit 5~0
URST: USB reset indication fl ag
0: No USB reset event occurred.
1: USB reset event has occurred.
RMWK: USB remote wake-up command
0: disable USB remote wake-up command
1: initiate USB remote wake-up command
SUSP: USB suspend indication fl ag
0: USB leaves the suspend mode.
1: USB enters the suspend mode.
is set to 0. When the MCU detects the suspend mode SUSP, the resume signal RESUME
which causes MCU to wake up should be remembered and taken into consideration.
The USB bit is set and cleared by USB SIE. When the URST bit is set to 1, it indicates
that a USB reset event has occurred and a USB interrupt will be initiated.
The RMWK is set to 1 by MCU to force the USB host leaving the suspend mode. Set
RMWK bit to 1 to initiate the remote walk-up command. When the RMWK bit is set to 1,
a 2μs delay for clearing this bit to 0 is necessary to ensure that the RMWK command is
accepted by the SIE.
This bit is read only and set to 1 by SIE to indicate that the USB bus enters the suspend
mode.
The USB interrupt is also generated when the SUSP bit is asserted.
7
Unimplemented, read as “0”.
EP5IF~EP0IF: Endpoint Interrupt request fl ags
0: the corresponding Endpoint is not accessed.
1: the corresponding Endpoint has been accessed.
6
EP5IF
R/W
5
0
9
EP4IF
R/W
4
0
EP3IF
R/W
3
0
EP2IF
R/W
2
0
EP1IF
R/W
1
0
March 22, 2010
www.DataSheet4U.com
EP0IF
R/W
0
0

Related parts for HT45B0K