EZ-USB FX3 Technical Reference Manual, Document Number: 001-76074 Rev. *F 608
SCK_COUNT
0x08
10.25.3 SCK_COUNT
Transfer Count Register
Only write to this register when socket is in suspend state or disabled state.
31:0 TRANS_COUNT[31:0] The number of bytes or buffers (depends on unit bit in SCK_STATUS) that have been transferred
through this socket so far. If trans_size is >0 and trans_count >= trans_size the ‘trans_done’ bits in
SCK_STATUS is both set. If SCK_STATUS.susp_trans=1 the socket is also suspended and the ‘sus-
pend’ bit set. This count is updated only when a descriptor is completed and the socket proceeds to
the next one.
Exception: When socket suspends with PARTIAL_BUF=1, this value is (incorrectly) incremented by 1
(UNIT=1) or DSCR_SIZE.BYTE_COUNT (UNIT=0). Firmware must correct this before resuming the
socket.
SCK_COUNT Transfer Count Register 0x08
b31 b30 b29 b28 b27 b26 b25 b24
TRANS_COUNT[31:24]
R/W R/W R/W R/W R/W R/W R/W R/W
R/W R/W R/W R/W R/W R/W R/W R/W
XXXXXXXX
SCK_COUNT Transfer Count Register
b23 b22 b21 b20 b19 b18 b17 b16
TRANS_COUNT[23:16]
R/W R/W R/W R/W R/W R/W R/W R/W
R/W R/W R/W R/W R/W R/W R/W R/W
XXXXXXXX
SCK_COUNT Transfer Count Register
b15 b14 b13 b12 b11 b10 b9 b8
TRANS_COUNT[15:8]
R/W R/W R/W R/W R/W R/W R/W R/W
R/W R/W R/W R/W R/W R/W R/W R/W
XXXXXXXX
SCK_COUNT Transfer Count Register
b7 b6 b5 b4 b3 b2 b1 b0
TRANS_COUNT[7:0]
R/W R/W R/W R/W R/W R/W R/W R/W
R/W R/W R/W R/W R/W R/W R/W R/W
XXXXXXXX
Bit Name Description