USB Device Controller

Table 12-19. UDCCS5/10/15 Bit Definitions (Sheet 2 of 2)

0x 4060_0024

UDCCS5

 

0x 4060_0038

UDCCS5

USB Device Controller

0x 4060_004C

UDCCS15

 

Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8

reserved

Reset x x x x x x x x x x x x x x x x x x x x x x x x

7 6 5 4 3 2 1 0

TSP reserved FST SST TUR FTF TPC TFS

0 0 0 0 0 0 0 1

Bits

Name

Description

 

 

 

5

FST

Force STALL (read/write).

1 = Issue STALL handshakes to IN tokens.

 

 

 

 

 

4

SST

Sent STALL (read/write 1 to clear).

1 = STALL handshake was sent.

 

 

 

 

 

3

TUR

Transmit FIFO underrun (read/write 1 to clear)

1 = Transmit FIFO experienced an underrun.

 

 

 

 

 

2

FTF

Flush Tx FIFO (always read 0/ write a 1 to set)

1 = Flush Contents of TX FIFO

 

 

Transmit packet complete (read/write 1 to clear).

1

TPC

0 =

Error/status bits invalid.

 

 

1 = Transmit packet has been sent and error/status bits are valid.

 

 

 

0

TFS

Transmit FIFO service (read-only).

0 = Transmit FIFO has no room for new data

 

 

1 =

Transmit FIFO has room for 1 complete data packet

12.6.8.1Transmit FIFO Service (TFS)

The transmit FIFO service bit is set if the FIFO does not contain any data bytes and UDCCSx[TSP] is not set.

12.6.8.2Transmit Packet Complete (TPC)

The transmit packet complete bit is be set by the UDC when an entire packet is sent to the host. When this bit is set, the IRx bit in the appropriate UDC status/interrupt register is set if transmit interrupts are enabled. This bit can be used to validate the other status/error bits in the endpoint(x) control/status register. The UDCCSx[TPC] bit is cleared by writing a 1 to it. This clears the interrupt source for the IRx bit in the appropriate UDC status/interrupt register, but the IRx bit must also be cleared.

The UDC issues NAK handshakes to all IN tokens if this bit is set and the buffer is not triggered by writing 8 bytes or setting UDCCSx[TSP].

12.6.8.3Flush Tx FIFO (FTF)

The Flush Tx FIFO bit triggers a reset for the endpoint's transmit FIFO. The Flush Tx FIFO bit is set when software writes a 1 to it or when the host performs a SET_CONFIGURATION or SET_INTERFACE. The bit’s read value is zero.

Intel® PXA255 Processor Developer’s Manual

12-35

Page 437
Image 437
Intel PXA255 manual UDCCS5/10/15 Bit Definitions Sheet 2, 0 0 0 0 0