Datasheet
1999-2013 Microchip Technology Inc. Preliminary DS41124D-page 69
PIC16C745/765
REGISTER 10-10: BUFFER DESCRIPTOR STATUS REGISTER. BITS WRITTEN BY THE MCU
(BDndST: 1A0h, 1A4h, 1A8h, 1ACh, 1B0h, 1B4h)
W-X W-X U-X U-X W-X W-X U-X U-X
UOWN DATA0/1 — — DTS BSTALL — — R = Readable bit
W = Writable bit
U = Unimplemented bit,
read as ‘0’
-n = Value at POR reset
X = Don’t care
bit7 bit0
bit 7: UOWN: USB Own
This UOWN bit determines who currently owns the buffer. The SIE writes a 0 to this bit when it has com-
pleted a token. This byte of the BD should always be the last byte the MCU updates when it initializes a
BD. Once the BD has been assigned to the USB, the MCU should not change it in any way.
1 = USB has exclusive access to the BD. The MCU should not modify the BD or buffer.
0 = The MCU has exclusive access to the BD. The USB ignores all other fields in the BD.
bit 6: DATA0/1: This bit defines the type of data toggle packet that was transmitted or received
1 = Data 1 packet
0 = Data 0 packet
bit 5-4: Reserved: Read as ’X’
bit 3: DTS: Setting this bit will enable the USB to perform Data Toggle Synchronization. If a packet arrives with
an incorrect DTS, it will be ignored and the buffer will remain unchanged.
1 = Data Toggle Synchronization is performed
0 = No Data Toggle Synchronization is performed
bit 2: BSTALL: Buffer Stall
Setting this bit will cause the USB to issue a STALL handshake if a token is received by the SIE that would
use the BD in this location. The BD is not consumed by the SIE (the own bit remains and the rest of the
BD are unchanged) when a BSTALL bit is set.
bit 1-0: Reserved: Read as ’X’
Note: Recommend that users not use BSF, BCF due to the dual functionality of this register.