EZ-USB FX3 Technical Reference Manual, Document Number: 001-76074 Rev. *F 422
EEPM_ENDPOINT
0xE0031C40
10.13.4 EEPM_ENDPOINT
Egress EPM Retry Buffer Status
There are 16 EEPM_ENDPOINT registers. The address of each is calculated as EEPM_ENDPOINT(x) = 0xE0031C40 +
(x*0x4). Hence EEPM_ENDPOINT(0) is at address 0xE0031C40, EEPM_ENDPOINT(1) is at address 0xE0031C40 + 0x4
and so on. The definition of each of these is the same.
These registers contain the status fields for each end point (or mapped stream in SuperSpeed Streams mode). The number of
packets 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 counters in the DMA Adapter). If the current buffer is completely full
(BYTE_COUNT==SIZE) and the next buffer is already available, the available packet count is (BYTE_COUNT/PACKET_-
SIZE)+1, otherwise it is round-up integral value of (BYTE_COUNT/PACKET).
31 SOCKET_FLUSH This bit will flush the corresponding socket.
30 EEPM_EP_READY The EPM condition used by USB block
27 ZLP ZLP present in the current buffer
26:11 EEPM_BYTE_COUNT[15:0] Number of bytes in the current buffer
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).
EEPM_ENDPOINT Egress EPM Retry Buffer Status 0xE0031C40
b31 b30 b29 b28 b27 b26 b25 b24
SOCKET_FLUSH EEPM_EP_READY ZLP EEPM_BYTE_COUNT[15:13]
R/W R RRRR
RR/W
R/W R/W R/W R/W
00
0000
EEPM_ENDPOINT Egress EPM Retry Buffer Status
b23 b22 b21 b20 b19 b18 b17 b16
EEPM_BYTE_COUNT[12:5]
RRRRRRRR
R/W R/W R/W R/W R/W R/W R/W R/W
00000000
EEPM_ENDPOINT Egress EPM Retry Buffer Status
b15 b14 b13 b12 b11 b10 b9 b8
EEPM_BYTE_COUNT[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
00000000
EEPM_ENDPOINT Egress EPM Retry Buffer Status
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
00000000
Bit Name Description