Advance Information MC68HC(7)08KH12Rev. 1.1
142 Freescale Semiconductor
1 = DATA1 Token active for next embedded device Endpoint 0
transmit
0 = DATA0 Token active for next embedded device Endpoint 0
transmit
DSTALL0 — Embedded Device Endpoint 0 Force Stall Bit
This read/write bit causes embedded device 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
TX0E — Embedded Device Endpoint 0 Transmit Enable
This read/write bit enables a transmit to occur when the USB Host
controller sends an IN token to the embedded device Endpoint 0.
Software should set this bit when data is ready to be transmitted. It
must be cleared by software when no more embedded device
Endpoint 0 data needs to be transmitted.
If this bit is 0 or the TXD0F is set, the USB will respond with a NAK
handshake to any embedded device Endpoint 0 IN tokens. Reset
clears this bit.
1 = Data is ready to be sent
0 = Data is not ready. Respond with NAK
RX0E — Embedded Device Endpoint 0 Receive Enable
This read/write bit enables a receive to occur when the USB Host
controller sends an OUT token to the embedded device 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 RXD0F is set, the USB will respond with a NAK
handshake to any embedded device Endpoint 0 OUT tokens. Reset
clears this bit.
1 = Data is ready to be received
0 = Not ready for data. Respond with NAK