Datasheet

2009-2012 Microchip Technology Inc. DS70616G-page 403
dsPIC33EPXXX(GP/MC/MU)806/810/814 and PIC24EPXXX(GP/GU)810/814
REGISTER 22-18: UxEIR: USB ERROR INTERRUPT STATUS REGISTER (DEVICE MODE)
U-0 U-0 U-0 U-0 U-0 U-0 U-0 U-0
bit 15 bit 8
R/K-0, HS R/K-0,HS R/K-0, HS R/K-0, HS R/K-0, HS R/K-0, HS R/K-0, HS R/K-0, HS
BTSEF BUSACCEF DMAEF BTOEF DFN8EF CRC16EF CRC5EF PIDEF
bit 7 bit 0
Legend: U = Unimplemented bit, read as ‘0’
R = Readable bit K = Write ‘1’ to clear bit HS = Hardware Settable bit
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
bit 15-8 Unimplemented: Read as ‘0
bit 7 BTSEF: Bit Stuff Error Flag bit
1 = Bit stuff error has been detected
0 = No bit stuff error has been detected
bit 6 BUSACCEF: Bus Access Error Flag bit
1 = Peripheral tried to access an unimplemented RAM location
0 = RAM location access was successful
bit 5 DMAEF: DMA Error Flag bit
1 = A USB DMA error condition is detected
; the data size indicated by the buffer descriptor byte count
field is less than the number of received bytes; the received data is truncated
0 = No DMA error
bit 4 BTOEF: Bus Turnaround Time-out Error Flag bit
1 = Bus turnaround time-out has occurred
0 = No bus turnaround time-out has occurred
bit 3 DFN8EF: Data Field Size Error Flag bit
1 = Data field was not an integral number of bytes
0 = Data field was an integral number of bytes
bit 2 CRC16EF: CRC16 Failure Flag bit
1 = CRC16 failed
0 = CRC16 passed
bit 1 CRC5EF: CRC5 Host Error Flag bit
1 = Token packet rejected due to CRC5 error
0 = Token packet accepted (no CRC5 error)
bit 0 PIDEF: PID Check Failure Flag bit
1 = PID check failed
0 = PID check passed