Microchip Technology TMPSNS-RTD1 Ficha De Dados

Página de 438
© 2009 Microchip Technology Inc.
 
DS39632E-page 171
PIC18F2455/2550/4455/4550
REGISTER 17-3:
USTAT: USB STATUS REGISTER
U-0
R-x
R-x
R-x
R-x
R-x
R-x
U-0
ENDP3
ENDP2
ENDP1
ENDP0
DIR
PPBI
(1)
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
-n = Value at POR
‘1’ = Bit is set
‘0’ = Bit is cleared
x = Bit is unknown
bit 7
Unimplemented: Read as ‘0’
bit 6-3
ENDP3:ENDP0: Encoded Number of 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 2
DIR: Last BD Direction Indicator bit
1 = The last transaction was an IN token
0 = The last transaction was an OUT or SETUP token
bit 1
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 0
Unimplemented: Read as ‘0’
Note 1:
This bit is only valid for endpoints with available Even and Odd BD registers.