Os motores de busca de Datasheet de Componentes eletrônicos
  Portuguese  ▼
ALLDATASHEETPT.COM

X  

H8S/20103 Folha de dados(PDF) 389 Page - Renesas Technology Corp

Nome de Peças H8S/20103
Descrição Electrónicos  16-Bit Single-Chip Microcomputer H8S Family / H8S/Tiny Series
PDF  992 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrônico  RENESAS [Renesas Technology Corp]
Página de início  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

H8S/20103 Folha de dados(HTML) 389 Page - Renesas Technology Corp

Back Button H8S/20103 Datasheet HTML 385Page - Renesas Technology Corp H8S/20103 Datasheet HTML 386Page - Renesas Technology Corp H8S/20103 Datasheet HTML 387Page - Renesas Technology Corp H8S/20103 Datasheet HTML 388Page - Renesas Technology Corp H8S/20103 Datasheet HTML 389Page - Renesas Technology Corp H8S/20103 Datasheet HTML 390Page - Renesas Technology Corp H8S/20103 Datasheet HTML 391Page - Renesas Technology Corp H8S/20103 Datasheet HTML 392Page - Renesas Technology Corp H8S/20103 Datasheet HTML 393Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 389 / 992 page
background image
Section 11 Data Transfer Controller (DTC)
Rev. 1.00 Oct. 03, 2008 Page 363 of 962
REJ09B0465-0100
11.7.3
Software Activation
An example is shown in which the DTC is used to transfer a block of 128 bytes of data by
software activation. The transfer source address is H'1000 and the destination address is H'2000.
The vector number is H'60, so the vector address is H'04C0.
1. Set MRA to incrementing source address (SM1 = 1, SM0 = 0), incrementing destination
address (DM1 = 1, DM0 = 0), block transfer mode (MD1 = 1, MD0 = 0), and byte size (Sz =
0). The DTS bit can have any value. Set MRB for one block transfer by one interrupt (CHNE =
0). Set the transfer source address (H'1000) in SAR, the transfer destination address (H'2000)
in DAR, and 128 (H'8080) in CRA. Set 1 (H'0001) in CRB.
2. Set the start address of the register information at the DTC vector address (H'04C0).
3. Check that the SWDTE bit in DTVECR is 0. Check that there is currently no transfer activated
by software.
4. Write 1 to the SWDTE bit and the vector number (H'60) to DTVECR. The write data is H'E0.
5. Read DTVECR again and check that H'60 is set to the vector number. If it is not, this indicates
that the write has failed. This is because an interrupt occurred between steps 3 and 4 and led to
a different software activation. To activate this transfer, go back to step 3.
6. If the write was successful, the DTC is activated and a block of 128 bytes of data is transferred.
7. After the transfer, an SWDTEND interrupt occurs. The interrupt handling routine should clear
the SWDTE bit to 0 and perform other wrap-up processing.



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


Folha de dados Download

Go To PDF Page


Ligação URL



ALLDATASHEET é útil para você?  [ DONATE ] 

Sobre Alldatasheet   |   Publicidade   |   Contato conosco   |   Privacy Policy   |   Link para a ficha técnica    |   roca de Link   |   Lista de Fabricantes
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