Chapter 12. Universal Serial Bus (USB)
12-21
Register Description and Programming Model
12.3.2.15 USB Endpoint 0 Interrupt Mask (E0PIMR) and
General/Endpoint 0 Interrupt Registers (EP0ISR)
Figure 12-18 shows the USB endpoint 0 interrupt mask and general/endpoint 0 interrupt
registers.
1
IN_DONE
This bit controls the USB's response to IN tokens from the host. Set at Reset and on an
EOT event and must be cleared by software when the last byte of a transfer has been
written to the IN-FIFO. This bit is then subsequently set by the USB core when an end of
transfer (EOT) event occurs, indicating that the transfer has been completed. An end of
transfer (EOT) event is indicated by one of the following:
a) An IN packet is transmitted that contains less than the maximum number of bytes
defined at endpoint configuration.
b) A zero length IN packet is transmitted. This occurs when the previously transmitted
IN packet was full, and no more data remains in the IN-FIFO. Hence a single zero
length packet must be sent to indicate EOT.
0 CPU has completed writing to the IN-FIFO and transfer is in progress. The USB
module sends all the data in the FIFO, or a zero-length packet when the FIFO is empty.
1 Transfer completed or CPU is busy writing to the IN-FIFO. The USB module only sends
maximum-sized packets or NAK responses if the FIFO contains less data than the
maximum packet size.
0
STALL
Force STALL response. Causes the endpoint to return a STALL handshake when polled
by either IN or OUT token by the USB host controller. The STALL handshake causes the
endpoint to be halted. The STALL bit is not valid for isochronous endpoints. This
command bit is write-only and always returns 0 when read.
0 Default
1 Send STALL handshake
Table 12-13. EP
n
CR Field Descriptions
Bits
Name
Description
Содержание DigitalDNA ColdFire MCF5272
Страница 1: ...MCF5272UM D Rev 0 02 2001 MCF5272 ColdFire Integrated Microprocessor User s Manual ...
Страница 38: ...xxxviii MCF5272 User s Manual TABLES Table Number Title Page Number ...
Страница 58: ...1 10 MCF5272 User s Manual MCF5272 Specific Features ...
Страница 90: ...2 42 MCF5272 User s Manual Exception Processing Overview ...
Страница 96: ...3 6 MCF5272 User s Manual MAC Instruction Execution Timings ...
Страница 158: ...5 46 MCF5272 User s Manual Motorola Recommended BDM Pinout ...
Страница 184: ...7 12 MCF5272 User s Manual Interrupt Controller Registers ...
Страница 338: ...13 44 MCF5272 User s Manual Application Examples ...
Страница 414: ...18 6 MCF5272 User s Manual PWM Programming Model ...
Страница 452: ...19 38 MCF5272 User s Manual Power Supply Pins ...
Страница 482: ...20 30 MCF5272 User s Manual Reset Operation ...
Страница 492: ...21 10 MCF5272 User s Manual Non IEEE 1149 1 Operation ...
Страница 548: ...INDEX Index 12 MCF5272 User s Manual ...