Datasheet
2015 Microchip Technology Inc. Preliminary DS60001320B-page 247
PIC32MZ Embedded Connectivity with Floating Point Unit (EF) Family
REGISTER 11-30: USBCRCON: USB CLOCK/RESET CONTROL 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 R-0, HS, HC R-0, HS, HC R/W-1, HS
— — — — — USBIF USBRF USBWKUP
23:16
U-0 U-0 U-0 U-0 U-0 U-0 U-0 U-0
— — — — — — — —
15:8
r-1 U-0 U-0 U-0 U-0 U-0 R/W-0 R/W-0
— — — — — —
USB
IDOVEN
USB
IDVAL
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
PHYIDEN
VBUS
MONEN
ASVAL
MONEN
BSVAL
MONEN
SEND
MONEN
USBIE USBRIE
USB
WKUPEN
Legend:
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-27 Unimplemented: Read as ‘0’
bit 26 USBIF: USB General Interrupt Flag bit
1 = An event on the USB Bus has occurred
0 = No interrupt from USB module or interrupts have not been enabled
bit 25 USBRF: USB Resume Flag bit
1 = Resume from Suspend state. Device wake-up activity can be started.
0 = No Resume activity detected during Suspend, or not in Suspend state
bit 24 USBWK: USB Activity Status bit
1 = Connect, disconnect, or other activity on USB detected since last cleared
0 = No activity detected on USB
Note: This bit should be cleared just prior to entering sleep, but it should be checked that no activity
has already occurred on USB before actually entering sleep.
bit 23-14 Unimplemented: Read as ‘0’
bit 15 Reserved: Read as ‘1’
bit 14-10 Unimplemented: Read as ‘0’
bit 9 USBIDOVEN: USB ID Override Enable bit
1 = Enable use of USBIDVAL bit
0 = Disable use of USBIDVAL and instead use the PHY value
bit 8 USBIDVAL: USB ID Value bit
1 = ID override value is 1
0 = ID override value is 0
bit 7 PHYIDEN: PHY ID Monitoring Enable bit
1 = Enable monitoring of the ID bit from the USB PHY
0 = Disable monitoring of the ID bit from the USB PHY
bit 6 VBUSMONEN: V
BUS Monitoring for OTG Enable bit
1 = Enable monitoring for V
BUS in VBUS Valid range (between 4.4V and 4.75V)
0 = Disable monitoring for V
BUS in VBUS Valid range
bit 5 ASVALMONEN: A-Device V
BUS Monitoring for OTG Enable bit
1 = Enable monitoring for V
BUS in Session Valid range for A-device (between 0.8V and 2.0V)
0 = Disable monitoring for V
BUS in Session Valid range for A-device
bit 4 BSVALMONEN: B-Device V
BUS Monitoring for OTG Enable bit
1 = Enable monitoring for V
BUS in Session Valid range for B-device (between 0.8V and 4.0V)
0 = Disable monitoring for V
BUS in Session Valid range for B-device