PIC16C745/P Microchip Technology, PIC16C745/P Datasheet - Page 64
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
PIC16C745/P
Manufacturer Part Number
PIC16C745/P
Description
8-Bit CMOS Microcontrollers with USB
Manufacturer
Microchip Technology
Datasheet
1.PIC16C745P.pdf
(158 pages)
- Current page: 64 of 158
- Download datasheet (3Mb)
PIC16C745/765
10.5.1.5
The USB Status Register reports the transaction sta-
tus within the USB. When the MCU recognizes a
TOK_DNE interrupt, this register should be read to
determine the status of the previous endpoint commu-
nication. The data in the status register is valid when
the TOK_DNE interrupt bit is asserted.
The USTAT register is actually a read window into a
status FIFO maintained by the USB. When the USB
uses a BD, it updates the status register. If another
REGISTER 10-5: USB STATUS REGISTER (USTAT: 194h)
DS41124A-page 64
bit7
bit 7-5: Unimplemented: Read as ’0’.
bit 4-3: ENDP<1:0>: These bits encode the endpoint address that received or transmitted the previous token.
bit 2:
bit 1-0: Unimplemented: Read as ’0’.
U-0
—
Status Register (USTAT)
This allows the microprocessor to determine which BDT entry was updated by the last USB transaction.
IN: This bit indicates the direction of the last BD that was updated.
1 = The last transaction was an IN TOKEN
0 = The last transaction was an OUT or SETUP TOKEN
U-0
—
U-0
—
ENDP1
R-X
Advanced Information
ENDP0
R-X
R-X
IN
USB transaction is performed before the TOK_DNE
interrupt is serviced the USB will store the status of the
next transaction in the STAT FIFO. Thus, the STAT reg-
ister is actually a four byte FIFO which allows the MCU
to process one transaction while the SIE is processing
the next. Clearing the TOK_DNE bit in the INT_STAT
register causes the SIE to update the STAT register
with the contents of the next STAT value. If the data in
the STAT holding register is valid, the SIE will immedi-
ately reassert the TOK_DNE interrupt.
U-0
—
U-0
—
bit0
1999 Microchip Technology Inc.
R = Readable bit
W = Writable bit
U = Unimplemented bit,
-n = Value at POR reset
X = Don’t care
read as ‘0’
Related parts for PIC16C745/P
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC16C54-HS/P](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16C, 40MHZ, DIP-18
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C55-RC/P](/photos/7/29/72985/150-28-dip_wide_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16C, 4MHZ, DIP-28
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C55-XT/P](/photos/7/29/72985/150-28-dip_wide_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16C, 4MHZ, DIP-28
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C74A-04/P](/photos/6/61/66192/150-40-dip_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16C, 4MHZ, DIP-40
Manufacturer:
Microchip Technology
Datasheet:
![PIC1-100-JT](/images/no-image3.png)
Part Number:
Description:
SURFACE MOUNT POWER INDUCTORS
Manufacturer:
RCD [RCD COMPONENTS INC.]
Datasheet:
![TC1014-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1014-5.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.8VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-4.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet: