English
Language : 

PIC32MX1XX_12 Datasheet, PDF (123/328 Pages) Microchip Technology – 32-bit Microcontrollers (up to 128 KB Flash and 32 KB SRAM) with Audio and Graphics Interfaces, USB, and Advanced Analog
PIC32MX1XX/2XX
REGISTER 10-3: U1OTGSTAT: USB OTG STATUS REGISTER
Bit
Bit
Bit
Bit
Bit
Bit
Range 31/23/15/7 30/22/14/6 29/21/13/5 28/20/12/4 27/19/11/3
U-0
U-0
U-0
U-0
U-0
31:24
—
—
—
—
—
23:16
U-0
—
U-0
—
U-0
—
U-0
—
U-0
—
15:8
U-0
—
U-0
—
U-0
—
U-0
—
U-0
—
7:0
R-0
ID
U-0
R-0
U-0
R-0
—
LSTATE
—
SESVD
Bit
26/18/10/2
U-0
—
U-0
—
U-0
—
R-0
SESEND
Bit
25/17/9/1
U-0
—
U-0
—
U-0
—
U-0
—
Bit
24/16/8/0
U-0
—
U-0
—
U-0
—
R-0
VBUSVD
Legend:
R = Readable bit
-n = Value at POR
W = Writable bit
‘1’ = Bit is set
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
x = Bit is unknown
bit 31-8
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
Unimplemented: Read as ‘0’
ID: ID Pin State Indicator bit
1 = No cable is attached or a type B cable has been plugged into the USB receptacle
0 = A “type A” OTG cable has been plugged into the USB receptacle
Unimplemented: Read as ‘0’
LSTATE: Line State Stable Indicator bit
1 = USB line state (SE0 bit (U1CON<6>) and JSTATE bit (U1CON<7>) has been stable for previous 1 ms
0 = USB line state (SE0 and JSTATE) has not been stable for previous 1 ms
Unimplemented: Read as ‘0’
SESVD: Session Valid Indicator bit
1 = VBUS voltage is above Session Valid on the A or B device
0 = VBUS voltage is below Session Valid on the A or B device
SESEND: B-Device Session End Indicator bit
1 = VBUS voltage is below Session Valid on the B device
0 = VBUS voltage is above Session Valid on the B device
Unimplemented: Read as ‘0’
VBUSVD: A-Device VBUS Valid Indicator bit
1 = VBUS voltage is above Session Valid on the A device
0 = VBUS voltage is below Session Valid on the A device
 2011-2012 Microchip Technology Inc.
Preliminary
DS61168E-page 123