Microchip Technology DV320032 Data Sheet

Page of 344
 2012-2013 Microchip Technology Inc.
DS60001185C-page  151
PIC32MX330/350/370/430/450/470
 
REGISTER 11-3:
U1OTGSTAT: USB OTG STATUS 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-0
U-0
R-0
U-0
R-0
R-0
U-0
R-0
ID
LSTATE
SESVD
SESEND
VBUSVD
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-8 Unimplemented: Read as ‘0’
bit 7
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 cable has been plugged into the USB receptacle
bit 6
Unimplemented: Read as ‘0’
bit 5
LSTATE: Line State Stable Indicator bit
1 = USB line state (U1CON<SE0> and U1CON<JSTATE>) has been stable for the previous 1 ms
0 = USB line state (U1CON<SE0> and U1CON<JSTATE>) has not been stable for the previous 1 ms
bit 4
Unimplemented: Read as ‘0’
bit 3
SESVD: Session Valid Indicator bit
1  = V
BUS
 voltage is above Session Valid on the A or B device
0  = V
BUS
 voltage is below Session Valid on the A or B device
bit 2
SESEND: B-Device Session End Indicator bit
1  = V
BUS
 voltage is below Session Valid on the B device
0  = V
BUS
 voltage is above Session Valid on the B device
bit 1
Unimplemented: Read as ‘0’
bit 0
VBUSVD: A-Device V
BUS
 Valid Indicator bit
1  = V
BUS
 voltage is above Session Valid on the A device
0  = V
BUS
 voltage is below Session Valid on the A device