Microchip Technology TDGL019 Data Sheet
© 2011-2014 Microchip Technology Inc.
DS60001168F-page 129
PIC32MX1XX/2XX
REGISTER 10-7:
U1IE: USB INTERRUPT ENABLE REGISTER
Bit
Range
Bit
31/23/15/7
Bit
30/22/14/6
Bit
29/21/13/5
Bit
28/20/12/4
Bit
27/19/11/3
Bit
26/18/10/2
Bit
25/17/9/1
Bit
24/16/8/0
31:24
U-0
U-0
U-0
U-0
U-0
U-0
U-0
U-0
—
—
—
—
—
—
—
—
23:16
U-0
U-0
U-0
U-0
U-0
U-0
U-0
U-0
—
—
—
—
—
—
—
—
15:8
U-0
U-0
U-0
U-0
U-0
U-0
U-0
U-0
—
—
—
—
—
—
—
—
7:0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
STALLIE
ATTACHIE RESUMEIE
IDLEIE
TRNIE
SOFIE
UERRIE
(1)
URSTIE
(2)
DETACHIE
(3)
Legend:
R = Readable bit
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
-n = Value at POR
‘1’ = Bit is set
‘0’ = Bit is cleared
x = Bit is unknown
bit 31-8 Unimplemented: Read as ‘0’
bit 7
bit 7
STALLIE:
STALL Handshake Interrupt Enable bit
1
= STALL interrupt is enabled
0
= STALL interrupt is disabled
bit 6
ATTACHIE:
ATTACH Interrupt Enable bit
1
= ATTACH interrupt is enabled
0
= ATTACH interrupt is disabled
bit 5
RESUMEIE:
RESUME Interrupt Enable bit
1
= RESUME interrupt is enabled
0
= RESUME interrupt is disabled
bit 4
IDLEIE:
Idle Detect Interrupt Enable bit
1
= Idle interrupt is enabled
0
= Idle interrupt is disabled
bit 3
TRNIE:
Token Processing Complete Interrupt Enable bit
1
= TRNIF interrupt is enabled
0
= TRNIF interrupt is disabled
bit 2
SOFIE:
SOF Token Interrupt Enable bit
1
= SOFIF interrupt is enabled
0
= SOFIF interrupt is disabled
bit 1
UERRIE:
USB Error Interrupt Enable bit
(1)
1
= USB Error interrupt is enabled
0
= USB Error interrupt is disabled
bit 0
URSTIE:
USB Reset Interrupt Enable bit
(2)
1
= URSTIF interrupt is enabled
0
= URSTIF interrupt is disabled
DETACHIE:
USB Detach Interrupt Enable bit
(3)
1
= DATTCHIF interrupt is enabled
0
= DATTCHIF interrupt is disabled
Note 1:
For an interrupt to propagate USBIF, the UERRIE (U1IE<1>) bit must be set.
2:
Device mode.
3:
Host mode.