44.4.1.10 USB Status Register

Note: The U1STAT register is a window into a 4 byte FIFO maintained by the USB OTG module. U1STAT value is only valid when the TRNIF bit (U1IR[3]) is active. Clearing the TRNIF bit (U1IR[3]) advances the FIFO. Data in register is invalid when the TRNIF bit (U1IR[3]) = 0.
Name: USTAT
Offset: 0x4240
Reset: 0x0
Property: -

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
          
Access  
Reset  
Bit 15141312111098 
          
Access  
Reset  
Bit 76543210 
 ENDPT[3:0]DIRPPBI   
Access RRRRRR 
Reset xxxxxx 

Bits 7:4 – ENDPT[3:0] Encoded Number of Last Endpoint Activity bits

(Represents the number of the BDT, updated by the last USB transfer.)
ValueDescription
1111 Endpoint 15
1110 Endpoint 14
...
0001 Endpoint 1
0000 Endpoint 0

Bit 3 – DIR Last BD Direction Indicator bit

ValueDescription
1 Last transaction was a TX
0 Last transaction was a RX

Bit 2 – PPBI Ping-pong BD Pointer Indicator bit

ValueDescription
1 Last transaction was to the ODD BD bank
0 Last transaction was to the EVEN BD bank