Advance Information MC68HC(7)08KH12Rev. 1.1
128 Freescale Semiconductor
9.4.6 USB HUB Interrupt Register 0 (HIR0)
TXDF — HUB Endpoint 0 Data Transmit Flag
This read only bit is set after the data stored in HUB Endpoint 0
transmit buffers has been sent and an ACK handshake packet from
the host is received. Once the next set of data is ready in the transmit
buffers, software must clear this flag by writing a logic 1 to the TXDFR
bit. To enable the next data packet transmission, TXE must also be
set. If TXDF bit is not cleared, a NAK handshake will be returned in
the next IN transaction.
Reset clears this bit. Writing to TXDF has no effect.
1 = Transmit on HUB Endpoint 0 has occurred
0 = Transmit on HUB Endpoint 0 has not occurred
RXDF — HUB Endpoint 0 Data Receive Flag
This read only bit is set after the USB HUB function has received a
data packet and responded with an ACK handshake packet. Software
must clear this flag by writing a logic 1 to the RXDFR bit after all of the
received data has been read. Software must also set RXE bit to one
to enable the next data packet reception. If RXDF bit is not cleared, a
NAK handshake will be returned in the next OUT transaction.
Reset clears this bit. Writing to RXDF has no effect.
1 = Receive on HUB Endpoint 0 has occurred
0 = Receive on HUB Endpoint 0 has not occurred
Address: $0059
Bit 7654321Bit 0
Read: TXDF RXDF 0 0
TXDIE RXDIE
0 0
Write: TXDFR RXDFR
Reset:00000000
= Unimplemented
Figure 9-7. USB HUB Interrupt Register 0 (HIR0)