Microchip Technology AC164139 Data Sheet

Page of 408
 2010 Microchip Technology Inc.
DS39969B-page 255
PIC24FJ256DA210 FAMILY
18.7.1
USB OTG MODULE CONTROL REGISTERS
REGISTER 18-3:
U1OTGSTAT: USB OTG STATUS REGISTER (HOST MODE ONLY)
U-0
U-0
U-0
U-0
U-0
U-0
U-0
U-0
bit 15
bit 8
R-0, HSC
U-0
R-0, HSC
U-0
R-0, HSC
R-0, HSC
U-0
R-0, HSC
ID
LSTATE
SESVD
SESEND
VBUSVD
bit 7
bit 0
Legend:
U = Unimplemented bit, read as ‘0’
R = Readable bit
W = Writable bit
HSC = Hardware Settable/Clearable bit
-n = Value at POR
‘1’ = Bit is set
‘0’ = Bit is cleared
x = Bit is unknown
bit 15-8
Unimplemented: Read as ‘0’
bit 7
ID: ID Pin State Indicator bit
1
 = No plug is attached, or a type B cable has been plugged into the USB receptacle
0
 = A type A plug has been plugged into the USB receptacle
bit 6
Unimplemented: Read as ‘0’
bit 5
LSTATE: Line State Stable Indicator bit
1
 = The USB line state (as defined by SE0 and JSTATE) has been stable for the previous 1 ms
0
 = The USB line state has not been stable for the previous 1 ms
bit 4
Unimplemented: Read as ‘0’
bit 3
SESVD: Session Valid Indicator bit
1
  = The  V
BUS
 voltage is above VA_SESS_VLD (as defined in the USB OTG Specification) on the A or
B-device
0
  = The  V
BUS
 voltage is below VA_SESS_VLD on the A or B-device
bit 2
SESEND: B Session End Indicator bit
1
  = The  V
BUS
 voltage is below VB_SESS_END (as defined in the USB OTG Specification) on the
B-device
0
  = The  V
BUS
 voltage is above VB_SESS_END on the B-device
bit 1
Unimplemented: Read as ‘0’
bit 0
VBUSVD: A V
BUS
 Valid Indicator bit
1
  = The  V
BUS
 voltage is above VA_VBUS_VLD (as defined in the USB OTG Specification) on the
A-device
0
  = The  V
BUS
 voltage is below VA_VBUS_VLD on the A-device