Getac Technology Corporation V110GD ユーザーズマニュアル
© 2011 Microchip Technology Inc.
Preliminary
DS61168C-page 125
PIC32MX1XX/2XX
REGISTER 10-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
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
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
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-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-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