전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

H8S/20103 데이터시트(PDF) 386 Page - Renesas Technology Corp

부품명 H8S/20103
상세설명  16-Bit Single-Chip Microcomputer H8S Family / H8S/Tiny Series
PDF  992 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  RENESAS [Renesas Technology Corp]
홈페이지  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

H8S/20103 데이터시트(HTML) 386 Page - Renesas Technology Corp

Back Button H8S/20103 Datasheet HTML 382Page - Renesas Technology Corp H8S/20103 Datasheet HTML 383Page - Renesas Technology Corp H8S/20103 Datasheet HTML 384Page - Renesas Technology Corp 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 386 / 992 page
background image
Section 11 Data Transfer Controller (DTC)
Rev. 1.00 Oct. 03, 2008 Page 360 of 962
REJ09B0465-0100
11.7
Examples of Use of the DTC
11.7.1
Normal Mode
An example is shown in which the DTC is used to receive 128 bytes of data via the SCI3.
1. Set MRA to fixed source address (SM1 = SM0 = 0), incrementing destination address (DM1 =
1, DM0 = 0), normal mode (MD1 = MD0 = 0), and byte size (Sz = 0). The DTS bit can have
any value. Set MRB for one data transfer by one interrupt (CHNE = 0, DISEL = 0). Set the
RDR address in SCI3 of SAR, the start address of the RAM area where the data is stored in
DAR, and 128 (H'0080) in CRA. CRB can be set to any value.
2. Set the start address of the register information at the DTC vector address.
3. Set the corresponding bit in DTCER to 1.
4. Set the SCI3 to the appropriate receive mode. Set the RIE bit in SCR to 1 to enable the
reception complete (RXI) interrupt. Since the generation of a receive error during the SCI
reception operation will disable subsequent reception, the CPU should be enabled to accept
receive error interrupts.
5. Each time reception of one byte of data ends on the SCI3, the RDRF flag in SSR is set to 1, an
RXI interrupt is generated, and the DTC is activated. The receive data is transferred from RDR
to RAM by the DTC. DAR is incremented and CRA is decremented. The RDRF flag is
automatically cleared to 0.
6. When CRA becomes 0 after the 128 data transfers have ended, the RDRF flag is held at 1, the
DTCE bit is cleared to 0, and an RXI interrupt request is sent to the CPU. The interrupt
handling routine should perform termination 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


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
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