English
Language : 

PIC18F2450 Datasheet, PDF (141/320 Pages) Microchip Technology – 28/40/44-Pin, High-Performance, 12 MIPS, Enhanced Flash, USB Microcontrollers with nanoWatt Technology
PIC18F2450/4450
REGISTER 14-5: BDnSTAT: BUFFER DESCRIPTOR n STATUS REGISTER (BD0STAT THROUGH
BD63STAT), CPU MODE (DATA IS WRITTEN TO THE SIDE)
R/W-x
UOWN(1)
bit 7
R/W-x
DTS(2)
R/W-x
—(3)
R/W-x
—(3)
R/W-x
DTSEN
R/W-x
BSTALL
R/W-x
BC9
R/W-x
BC8
bit 0
Legend:
R = Readable bit
-n = Value at POR
W = Writable bit
‘1’ = Bit is set
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
x = Bit is unknown
bit 7
bit 6
bit 5-4
bit 3
bit 2
bit 1-0
UOWN: USB Own bit(1)
0 = The microcontroller core owns the BD and its corresponding buffer
DTS: Data Toggle Synchronization bit(2)
1 = Data 1 packet
0 = Data 0 packet
Reserved: These bits should always be programmed to ‘0’(3)
DTSEN: Data Toggle Synchronization Enable bit
1 = Data toggle synchronization is enabled; data packets with incorrect Sync value will be ignored
0 = No data toggle synchronization is performed
BSTALL: Buffer Stall Enable bit
1 = Buffer stall enabled; STALL handshake issued if a token is received that would use the BD in the
given location (UOWN bit remains set, BD value is unchanged)
0 = Buffer stall disabled
BC9:BC8: Byte Count 9 and 8 bits
The byte count bits represent the number of bytes that will be transmitted for an IN token or received
during an OUT token. Together with BC<7:0>, the valid byte counts are 0-1023.
Note 1:
2:
3:
This bit must be initialized by the user to the desired value prior to enabling the USB module.
This bit is ignored unless DTSEN = 1.
If these bits are set, USB communication may not work. Hence, these bits should always be maintained
as ‘0’.
© 2006 Microchip Technology Inc.
Advance Information
DS39760A-page 139