beautypg.com

Freescale Semiconductor MC68HC08KH12 User Manual

Page 133

background image

MC68HC(7)08KH12

Rev. 1.1

Advance Information

Freescale Semiconductor

133

RSEQ — HUB Endpoint 0 Receive Sequence Bit

This read only bit indicates the type of data packet last received for
HUB Endpoint 0 (DATA0 or DATA1).

1 = DATA1 Token received in last HUB Endpoint 0 Receive
0 = DATA0 Token received in last HUB Endpoint 0 Receive

SETUP — HUB SETUP Token Detect Bit

This read only bit indicates that a valid SETUP token has been
received.

1 = Last token received for hub endpoint 0 was a SETUP token
0 = Last token received for hub endpoint 0 was not a SETUP token

TX1ST — HUB Transmit First Flag

This read only bit is set if the HUB Endpoint 0 Data Transmit Flag
(TXDF) is set when the USB control logic is setting the HUB Endpoint
0 Data Receive Flag (RXDF). In other words, if an unserviced
Endpoint 0 Transmit Flag is still set at the end of an endpoint 0
reception, then this bit will be set. This bit lets the firmware know that
the Endpoint 0 transmission happened before the Endpoint 0
reception. Reset clears this bit.

1 = IN transaction occurred before SETUP/OUT
0 = IN transaction occurred after SETUP/OUT

TX1STR — Clear HUB Transmit First Flag

Writing a logic 1 to this write only bit will clear the TX1ST bit if it is set.
Writing a logic 0 to the TX1STR has no effect. Reset clears this bit.

RPSIZ3-RPSIZ0 — HUB Endpoint 0 Receive Data Packet Size

These read only bits store the number of data bytes received for the
last OUT or SETUP transaction for HUB Endpoint 0. These bits are
not affected by reset.