44.4.1.3 USB OTG Status Register

Name: UOTGSTAT
Offset: 0x4060
Reset: 0x0
Property: -

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
          
Access  
Reset  
Bit 15141312111098 
          
Access  
Reset  
Bit 76543210 
 ID LSTATE SESVDSESEND VBUSVD 
Access RRRRR 
Reset 00000 

Bit 7 – ID ID Pin State Indicator bit

ValueDescription
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 5 – LSTATE Line State Stable Indicator bit

ValueDescription
1

USB line state (U1CON<SE0> and U1CON<JSTATE>) has been stable for the last 1 ms

0 USB line state (U1CON<SE0> and U1CON<JSTATE>) has not been stable for the last 1 ms

Bit 3 – SESVD Session Valid Change Indicator bit

ValueDescription
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

Bit 2 – SESEND B-Session End Indicator bit

ValueDescription
1 VBUS voltage is below Session Valid on the B device
0 VBUS voltage is above Session Valid on the B device

Bit 0 – VBUSVD  A-VBUS Valid Indicator bit

ValueDescription
1 VBUS voltage is below Session Valid on the A device
0 VBUS voltage is above Session Valid on the A device