Usb Embedded Device Interrupt Register 1 (Dir1) - Freescale Semiconductor MC68HC08KH12 Datasheet

Freescale semiconductor microcontrollers data sheet
Table of Contents

Advertisement

9.5.3 USB Embedded Device Interrupt Register 1 (DIR1)

Advance Information
140
1 = Receive Embedded Device Endpoint 0 can generate a CPU
interrupt request
0 = Receive Embedded Device Endpoint 0 cannot generate a CPU
interrupt request
TXD0FR — Embedded Device Endpoint 0 Transmit Flag Reset
Writing a logic 1 to this write only bit will clear the TXD0F bit if it is set.
Writing a logic 0 to TXD0FR has no effect. Reset clears this bit.
RXD0FR — Embedded Device Endpoint 0 Receive Flag Reset
Writing a logic 1 to this write only bit will clear the RXD0F bit if it is set.
Writing a logic 0 to RXD0FR has no effect. Reset clears this bit.
Address:
$004A
Bit 7
6
Read:
TXD1F
0
Write:
Reset:
0
0
= Unimplemented
Figure 9-14. USB Embedded Device Interrupt Register 1 (DIR1)
TXD1F — Embedded Device Endpoint 1/2 Data Transmit Flag
This read only bit is shared by Endpoint 1 and Endpoint 2 of the
embedded device. It is set after the data stored in the shared Endpoint
1/2 transmit buffer of the embedded device 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 TXD1FR bit. To enable the next data packet
transmission, TX1E must also be set. If TXD1F bit is not cleared, a
NAK handshake will be returned in the next IN transaction. Reset
clears this bit. Writing to TXD1F has no effect.
5
4
3
0
0
TXD1IE
0
0
0
MC68HC(7)08KH12
2
1
Bit 0
0
0
0
TXD1FR
0
0
0
Rev. 1.1
Freescale Semiconductor

Advertisement

Table of Contents
loading

Table of Contents