
HT48RB8
Rev. 1.30
20
February 10, 2003
The following is A/D converter timing diagrams
USB Interface and A/D Converter
There are 7 registers, including AWR (address + remote wake up; 42H in bank 1), STALL (43H in bank 1), PIPE (44H in
bank 1), MISC (46H in bank 1), FIFO0 (48H in bank 1), FIFO1 (49H in bank 1), FIFO2 (4AH in bank 1) and FIFO3 (4BH
in bank 1) used for the USB function. AWR register contains current address and a remote wake up function control bit.
The initial value of AWR is 00H . The address value extracted from the USB command has not to be loaded into this
register until the SETUP stage being finished.
AWR
Bits
R/W
Function
WKEN
0
W
Remote wake-up enable/disable
AD6~AD0
7~1
W
USB device address
PIPE register represents whether the corresponding endpoint is accessed by host or not. This register is set only after
the time when host accesses the corresponding endpoint. Only the last accessed endpoint is shown in this register.
STALL register shows whether the corresponding endpoint works properly or not. As soon as the endpoint works im-
properly, the related bit in the STALL has to be set to 1 . The STALL will be cleared by USB reset signal.
PIPE
Bits
R/W
Function
EP0RW
0
R
Endpoint 0 accessed
EP1RW
1
R
Endpoint 1 accessed
EP2RW
2
R
Endpoint 2 accessed
EP3RW
3
R
Endpoint 3 accessed
7~4
R
Unused bit, read as 0
STALL
Bits
R/W
Function
STL0
0
W
Stall the endpoint 0
STL1
1
W
Stall the endpoint 1
STL2
2
W
Stall the endpoint 2
STL3
3
W
Stall the endpoint 3
7~4
W
Unused bit, read as 0
, (
"
)
(
3
!
(
!
)
(
3
!
(
!
)
(
3
!
)
(
3
!
(
)
(
3
!
( :
! $
"
A
G "
A
)
(
3
!
( :
! $
"
(
(
(
(
)
(
3
!
)
(
3
!
(
(
(
(
(
.
/