Datasheet

PIC24FJ256GB110 FAMILY
DS39897C-page 236 2009 Microchip Technology Inc.
REGISTER 18-19: U1EIR: USB ERROR INTERRUPT STATUS REGISTER
U-0 U-0 U-0 U-0 U-0 U-0 U-0 U-0
bit 15 bit 8
R/K-0, HS U-0 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 DMAEF BTOEF DFN8EF CRC16EF
CRC5EF
PIDEF
EOFEF
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
bit 6 Unimplemented: Read as ‘0
bit 5 DMAEF: DMA Error Flag bit
1 = A USB DMA error condition detected
; the data size indicated by the BD 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
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 For Device mode:
CRC5EF: CRC5 Host Error Flag bit
1 = Token packet rejected due to CRC5 error
0 = Token packet accepted (no CRC5 error)
For Host mode:
EOFEF: End-Of-Frame Error Flag bit
1 = End-Of-Frame error has occurred
0 = End-Of-Frame interrupt disabled
bit 0 PIDEF: PID Check Failure Flag bit
1 = PID check failed
0 = PID check passed. Individual bits can only be cleared by writing a ‘1’ to the bit position as part of
a word write operation on the entire register. Using Boolean instructions or bitwise operations to
write to a single bit position will cause all set bits at the moment of the write to become cleared.
Note: Individual bits can only be cleared by writing a ‘1 to the bit position as part of a word write operation on the
entire register. Using Boolean instructions or bitwise operations to write to a single bit position will cause
all set bits at the moment of the write to become cleared.