Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

7643 Datasheet(PDF) 287 Page - Renesas Technology Corp

Part # 7643
Description  8-BIT SINGLE-CHIP MICROCOMPUTER
PDF  424 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

7643 Datasheet(HTML) 287 Page - Renesas Technology Corp

Back Button 7643 Datasheet HTML 283Page - Renesas Technology Corp 7643 Datasheet HTML 284Page - Renesas Technology Corp 7643 Datasheet HTML 285Page - Renesas Technology Corp 7643 Datasheet HTML 286Page - Renesas Technology Corp 7643 Datasheet HTML 287Page - Renesas Technology Corp 7643 Datasheet HTML 288Page - Renesas Technology Corp 7643 Datasheet HTML 289Page - Renesas Technology Corp 7643 Datasheet HTML 290Page - Renesas Technology Corp 7643 Datasheet HTML 291Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 287 / 424 page
background image
Rev.2.00
Aug 28, 2006
page 166 of 202
7643 Group
REJ09B0133-0200
APPLICATION
2.6 USB
q Use the transfer instructions such as LDA and STA to set the following registers:
- USB interrupt status registers 1, 2 (USBIS1, USBIS2: addresses 005216, 005316)
- USB endpoint 0 IN control register (IN_CSR: address 005916)
- USB endpoint x IN control register (IN_CSR: address 005916)
- USB endpoint x OUT control register (OUT_CSR: address 005A16)
Do not use the read-modify-write instructions such as the SEB or the CLB instruction.
When writing to bits shown by Table 2.6.3 using the transfer instruction such as LDA or STA,
a value which never affects its bit state is required.
Take the following sequence to change these bits contents:
1. Store the register contents onto a variable or a data register.
2. Change the target bit on the variable or the data register. Simultaneously mask the bit so that
its bit state cannot be changed. (See to Table 2.6.3.)
3. Write the value from the variable or the data register to the register using the transfer
instruction such as LDA or STA.
q Erase the contents of the IN FIFO or OUT FIFO by setting the FLUSH bit to “1”.
If there are two packets in the FIFO, the older packet will be erased.
This will also modify the state of the IN_PKT_RDY bit and the TX_NOT_EPT flag.
q Transfer data may be erased if the FLUSH bit is set to “1” during a transfer.
Receive: Set the FLUSH bit to “1” when the OUT_PKT_RDY flag is “1”.
q To use the AUTO_SET function for an IN transfer when the AUTO_SET bit is set to 1, set the
FIFO to single buffer mode.
Table 2.6.3 Bits of which state might be changed owing to software write
Register name
USB endpoint 0 IN control register
USB endpoint x (x = 1, 2) IN control register
USB endpoint x (x = 1, 2) OUT control register
Bit name
IN_PKT_RDY (b1)
DATA_END (b3)
FORCE_STALL (b4)
IN_PKT_RDY (b0)
OUT_PKT_RDY (b0)
FORCE_STALL (b4)
Value not affecting state (Note)
“0”
“0”
“1”
“0”
“1”
“1”
Note: Writing this value will not change the bit state, because this value cannot be written to the bit by software.
Some application notes are available on the Web site:
http://www.renesas.com/en/usb
Please refer to them for more explanation and application of USB function.



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