Microchip Technology DM240015 Data Sheet

Page of 472
PIC24FJ128GC010 FAMILY
DS30009312B-page 296
 
 2012-2013 Microchip Technology Inc.
 
REGISTER 19-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 has been detected
bit 6
Unimplemented:
 Read as ‘0’
bit 5
DMAEF:
 DMA Error Flag bit
1
 = A USB DMA error condition is 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 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
For Device mode:
CRC5EF:
 CRC5 Host Error Flag bit
1
 = Token packet is rejected due to CRC5 error
0
 = Token packet is accepted (no CRC5 error)
For Host mode:
EOFEF:
 End-of-Frame (EOF) Error Flag bit
1
 = End-of-Frame error has occurred
0
 = End-of-Frame interrupt is disabled
bit 0
PIDEF:
 PID Check Failure Flag bit
1
 = PID check failed
0
 = PID check passed
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.