Universal Serial Bus Module (USB)
MC68HC08KH12A Data Sheet, Rev. 1.1
90
Freescale Semiconductor
STALL0 — HUB Endpoint 0 Force Stall Bit
This read/write bit causes HUB Endpoint 0 to return a STALL handshake when polled by either an IN
or OUT token by the host. The USB hardware clears this bit when a SETUP token is received. Reset
clears this bit.
1 = Send STALL handshake
0 = Default
TXE — HUB Endpoint 0 Transmit Enable
This read/write bit enables a transmit to occur when the USB Host controller sends an IN token to the
HUB Endpoint 0. Software should set this bit when data is ready to be transmitted. It must be cleared
by software when no more HUB Endpoint 0 data packets needs to be transmitted. If this bit is 0 or the
TXDF is set, the USB will respond with a NAK handshake to any HUB Endpoint 0 IN tokens. Reset
clears this bit.
1 = Data is ready to be sent
0 = Data is not ready. Respond with NAK
RXE — HUB Endpoint 0 Receive Enable
This read/write bit enables a receive to occur when the USB Host controller sends an OUT token to
the HUB Endpoint 0. Software should set this bit when data is ready to be received. It must be cleared
by software when data cannot be received. If this bit is 0 or the RXDF is set, the USB will respond with
a NAK handshake to any HUB Endpoint 0 OUT tokens. Reset clears this bit.
1 = Data is ready to be received
0 = Not ready for data. Respond with NAK
TPSIZ3-TPSIZ0 — HUB Endpoint 0 Transmit Data Packet Size
These read/write bits store the number of transmit data bytes for the next IN token request for HUB
Endpoint 0. These bits are cleared by reset.
9.4.8 USB HUB Endpoint1 Control & Data Register (HCDR)
STALL1 — HUB Endpoint 1 Force Stall Bit
This read/write bit causes HUB Endpoint 1 to return a STALL handshake when polled by the host.
Reset clears this bit.
1 = Send STALL handshake
0 = Default
PNEW — Port New Status Change
This read/write bit enables a transmit to occur when the USB Host controller sends an IN token to HUB
Endpoint 1. Software should set this bit when there is any status change on the downstream ports,
embedded device or hub. It must be cleared by software when there is no status change needs to be
reported to the host through the Endpoint1. If this bit is 0, a NAK handshake will be returned for next
IN token for HUB Endpoint 1. Reset clears this bit.
1 = Port status change bit is ready to be sent.
0 = Port status does not change. Respond with NAK.
Address: $005C
Bit 7
6
5
4
3
2
1
Bit 0
Read:
STALL1
PNEW
PCHG5
PCHG4
PCHG3
PCHG2
PCHG1
PCHG0
Write:
Reset:
0
0
0
0
0
0
0
0
Figure 9-11. USB HUB Control Register 1 (HCR1)