Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

PIC16C765/P Datasheet(PDF) 64 Page - Microchip Technology

Part # PIC16C765/P
Description  8-Bit CMOS Microcontrollers with USB
PDF  158 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC16C765/P Datasheet(HTML) 64 Page - Microchip Technology

Back Button PIC16C765/P Datasheet HTML 60Page - Microchip Technology PIC16C765/P Datasheet HTML 61Page - Microchip Technology PIC16C765/P Datasheet HTML 62Page - Microchip Technology PIC16C765/P Datasheet HTML 63Page - Microchip Technology PIC16C765/P Datasheet HTML 64Page - Microchip Technology PIC16C765/P Datasheet HTML 65Page - Microchip Technology PIC16C765/P Datasheet HTML 66Page - Microchip Technology PIC16C765/P Datasheet HTML 67Page - Microchip Technology PIC16C765/P Datasheet HTML 68Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 64 / 158 page
background image
PIC16C745/765
DS41124A-page 64
Advanced Information
© 1999 Microchip Technology Inc.
10.5.1.5
Status Register (USTAT)
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
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.
REGISTER 10-5:
USB STATUS REGISTER (USTAT: 194h)
U-0
U-0
U-0
R-X
R-X
R-X
U-0
U-0
—
—
—
ENDP1
ENDP0
IN
—
—
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-5:
Unimplemented: Read as ’0’.
bit 4-3:
ENDP<1:0>: These bits encode the endpoint address that received or transmitted the previous token.
This allows the microprocessor to determine which BDT entry was updated by the last USB transaction.
bit 2:
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
bit 1-0:
Unimplemented: Read as ’0’.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com