EZ-USB FX3 Technical Reference Manual, Document Number: 001-76074 Rev. *F 423
IEPM_ENDPOINT
0xE0031C80
10.13.5 IEPM_ENDPOINT
Ingress EPM Per Endpoint Control and Status Register
These register contain the status fields for each end-point (or mapped stream in SuperSpeed Streams mode). The number of
packets for which space is available on each end point is computed from the SIZE and BYTE_COUNT of the currently loaded
descriptor and the availability of a next descriptor (using the credit counter in the DMA Adapter). If the next descriptor is avail-
able, available packet count is Round-down integral value of ((2*SIZE-BYTE_COUNT)/PACKET_SIZE), otherwise it is
Round-down integral value of ((SIZE-BYTE_COUNT)/PACKET_SIZE)).
31 SOCKET_FLUSH This bit will flush the corresponding socket.
30 EOT_EOP Configure end-of-packet signalling to DMA adapter.
0 Send EOP at the end of a full packet and EOT for short/zlp packets
1 Send EOT at the end of every packet
Setting this bit to 1 is useful for variable size packet endpoints only.
22 EP_READY The EPM condition used by USB block.
21:11 NUM_IN_PACKETS[10:0 Number of packets that are guaranteed to fit in the remaining buffer space of the current and next
buffers. If the computed number of packets available is larger than 16, this number will be assumed to
be 16 in the protocol block.
10:0 PACKET_SIZE[10:0] Maximum packet size for this end-point. Typically this value is 1024, 512, 64, 1023 (last 2 for USB2
only).
IEPM_ENDPOINT Ingress EPM Per Endpoint Control and Status Register 0xE0031C80
b31 b30 b29 b28 b27 b26 b25 b24
SOCKET_FLUSH EOT_EOP
R/W R/W
RR
00
IEPM_ENDPOINT Ingress EPM Per Endpoint Control and Status Register
b23 b22 b21 b20 b19 b18 b17 b16
EP_READY NUM_IN_PACKETS[10:5]
RRRRRRR
R/W R/W R/W R/W R/W R/W R/W
0000000
IEPM_ENDPOINT Ingress EPM Per Endpoint Control and Status Register
b15 b14 b13 b12 b11 b10 b9 b8
NUM_IN_PACKETS[4:0] PACKET_SIZE[10:8]
R R R R R R/W R/W R/W
R/W R/W R/W R/W R/W R R R
00000
IEPM_ENDPOINT Ingress EPM Per Endpoint Control and Status Register
b7 b6 b5 b4 b3 b2 b1 b0
PACKET_SIZE[7:0]
R/W R/W R/W R/W R/W R/W R/W R/W
RRRRRRRR
1024
Bit Name Description