English
Language : 

PIC24FJ256GB106-I Datasheet, PDF (222/328 Pages) Microchip Technology – 64/80/100-Pin, 16-Bit Flash Microcontrollers with USB On-The-Go (OTG)
PIC24FJ256GB110 FAMILY
REGISTER 17-19: U1EIR: USB ERROR INTERRUPT STATUS REGISTER
U-0
U-0
U-0
U-0
U-0
U-0
U-0
—
—
—
—
—
—
—
bit 15
U-0
—
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
CRC5EF
BTSEF
—
DMAEF
BTOEF
DFN8EF CRC16EF
PIDEF
EOFEF
bit 7
bit 0
Legend:
R = Readable bit
-n = Value at POR
K = Write ‘1’ to clear bit
‘1’ = Bit is set
U = Unimplemented bit, read as ‘0’
HS = Hardware Settable bit
‘0’ = Bit is cleared
x = Bit is unknown
bit 15-8
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
Unimplemented: Read as ‘0’
BTSEF: Bit Stuff Error Flag bit
1 = Bit stuff error has been detected
0 = No bit stuff error
Unimplemented: Read as ‘0’
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
BTOEF: Bus Turnaround Time-out Error Flag bit
1 = Bus turnaround time-out has occurred
0 = No bus turnaround time-out
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
CRC16EF: CRC16 Failure Flag bit
1 = CRC16 failed
0 = CRC16 passed
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
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.
DS39897B-page 220
Preliminary
© 2008 Microchip Technology Inc.