Datasheet
2009 Microchip Technology Inc. DS39897C-page 225
PIC24FJ256GB110 FAMILY
REGISTER 18-6: U1STAT: 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
ENDPT3 ENDPT2 ENDPT1 ENDPT0 DIR PPBI
(1)
— —
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>: Number of the Last Endpoint Activity bits
(Represents the number of the BDT updated by the last USB transfer).
1111 = Endpoint 15
1110 = Endpoint 14
....
0001 = Endpoint 1
0000 = Endpoint 0
bit 3 DIR: Last BD 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 BD Pointer Indicator bit
(1)
1 = The last transaction was to the ODD BD bank
0 = The last transaction was to the EVEN BD bank
bit 1-0 Unimplemented: Read as ‘0’
Note 1: This bit is only valid for endpoints with available EVEN and ODD BD registers.