Microchip Technology MA330025-1 Data Sheet

Page of 622
 2009-2012 Microchip Technology Inc.
DS70616G-page 391
dsPIC33EPXXX(GP/MC/MU)806/810/814 and PIC24EPXXX(GP/GU)810/814
REGISTER 22-4:
UxSTAT: USB STATUS REGISTER
U-0
U-0
U-0
U-0
U-0
U-0
U-0
U-0
bit 15
bit 8
R-0, HSC
R-0, HSC
R-0, HSC
R-0, HSC
R-0, HSC
R-0, HSC
U-0
U-0
ENDPT<3:0>
(
)
DIR
PPBI
(
)
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-4
ENDPT<3:0>: Last Endpoint Activity Number bits 
(represents the number of the endpoint BDT updated by the last USB transfer)
(
)
1111 = Endpoint 15
1110 = Endpoint 14



0001 = Endpoint 1
0000 = Endpoint 0
bit 3
DIR: Last Buffer Descriptor Direction Indicator bit
1 = The last transaction was a transmit transfer (TX)
0 = The last transaction was a receive transfer (RX)
bit 2
PPBI: Ping-Pong Buffer Descriptor Pointer Indicator bit
1 = The last transaction was to the ODD buffer descriptor bank
0 = The last transaction was to the EVEN buffer descriptor bank
bit 1-0
Unimplemented: Read as ‘0’
Note 1: This bit is only valid for endpoints with available EVEN and ODD buffer descriptor registers.
2: In Host mode, all transactions are processed through Endpoint 0 and the Endpoint 0 BDTs. Therefore, 
ENDPT<3:0> will always read as ‘0000’.