
EZ-USB FX2 Technical Reference Manual
Page 15-52 EZ-USB FX2 Technical Reference Manual v2.1
15.7.8 USB Error Counter Limit
Figure 15-51. USB Error Counter and Limit
Bit 7-4 EC3:0 USB Error Count
Error count has a maximum value of 15.
Bit 3-0 LIMIT3:0 Error Count Limit
USB bus error count and limit. The firmware can enable the interrupt to cause an interrupt
when the limit is reached. The default limit count is 4.
15.7.9 Clear Error Count
Figure 15-52. Clear Error Count EC3:0
Write 0xFF to this register to clear the EC (Error Count) bits in the ERRCNTLIM Register.
ERRCNTLIM USB Error Counter and Limit E664
b7 b6 b5 b4 b3 b2 b1 b0
EC3 EC2 EC1 EC0 LIMIT3 LIMIT2 LIMIT1 LIMIT0
R R R R R/W R/W R/W R/W
x x x x 0 1 0 0
CLRERRCNT Clear Error Count EC3:0 E665
b7 b6 b5 b4 b3 b2 b1 b0
x x x x x x x x
W W W W W W W W
x x x x x x x x
Komentarze do niniejszej Instrukcji