|
PIC24FJ256GB108-I Datasheet, PDF (225/352 Pages) Microchip Technology – 64/80/100-Pin, 16-Bit Flash Microcontrollers with USB On-The-Go (OTG) | |||
|
◁ |
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
ENDPT3
ENDPT2
ENDPT1
ENDPT0
DIR
PPBI(1)
â
bit 7
U-0
â
bit 0
Legend:
R = Readable bit
-n = Value at POR
U = Unimplemented bit, read as â0â
W = Writable bit
HSC = Hardware Settable/Clearable bit
â1â = Bit is set
â0â = Bit is cleared
x = Bit is unknown
bit 15-8
bit 7-4
bit 3
bit 2
bit 1-0
Unimplemented: Read as â0â
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
DIR: Last BD Direction Indicator bit
1 = The last transaction was a transmit transfer (Tx)
0 = The last transaction was a receive transfer (Rx)
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
Unimplemented: Read as â0â
Note 1: This bit is only valid for endpoints with available EVEN and ODD BD registers.
ï£ 2009 Microchip Technology Inc.
DS39897C-page 225
|
▷ |