XC68HC08KH12 Motorola, XC68HC08KH12 Datasheet - Page 139

no-image

XC68HC08KH12

Manufacturer Part Number
XC68HC08KH12
Description
MICROCONTROLLER
Manufacturer
Motorola
Datasheet
MC68HC(7)08KH12
MOTOROLA
Rev. 1.0
TXD0F — Embedded Device Endpoint 0 Data Transmit Flag
RXD0F — Embedded Device Endpoint 0 Data Receive Flag
TXD0IE — Embedded Device Endpoint 0 Transmit Interrupt Enable
RXD0IE — Embedded Device Endpoint 0 Receive Interrupt Enable
This read only bit is set after the data stored in embedded device
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 TXD0FR bit. To enable the next data packet transmission,
TX0E must also be set. If TXD0F bit is not cleared, a NAK handshake
will be returned in the next IN transaction. Reset clears this bit. Writing
to TXD0F has no effect.
This read only bit is set after the USB embedded device module has
received a data packet and responded with an ACK handshake
packet. Software must clear this flag by writing a logic 1 to the
RXD0FR bit after all of the received data has been read. Software
must also set RX0E bit to one to enable the next data packet
reception. If RXD0F bit is not cleared, a NAK handshake will be
returned in the next OUT transaction.
Reset clears this bit. Writing to RXD0F has no effect.
This read/write bit enables the Transmit Embedded Device Endpoint
0 to generate CPU interrupt requests when the TXD0F bit becomes
set. Reset clears the TXD0IE bit.
This read/write bit enables the Receive Embedded Device Endpoint 0
to generate CPU interrupt requests when the RXD0F bit becomes set.
Reset clears the RXD0IE bit.
1 = Transmit on embedded device Endpoint 0 has occurred
0 = Transmit on embedded device Endpoint 0 has not occurred
1 = Receive on embedded device Endpoint 0 has occurred
0 = Receive on embedded device Endpoint 0 has not occurred
1 = Transmit Embedded Device Endpoint 0 can generate a CPU
0 = Transmit Embedded Device Endpoint 0 cannot generate a
Universal Serial Bus Module (USB)
interrupt request
CPU interrupt request
I/O Register Description of the Embedded Device Function
Universal Serial Bus Module (USB)
Advance Information
139

Related parts for XC68HC08KH12