công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

MPD78CP18KB bảng dữ liệu(PDF) 164 Page - NEC

tên linh kiện MPD78CP18KB
Giải thích chi tiết về linh kiện  8-BIT SINGLE-CHIP MICROCONTROLLER
PDF  373 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  NEC [NEC]
Trang chủ  http://www.nec.com/
Logo NEC - NEC

MPD78CP18KB bảng dữ liệu(HTML) 164 Page - NEC

Back Button MPD78CP18KB Datasheet HTML 160Page - NEC MPD78CP18KB Datasheet HTML 161Page - NEC MPD78CP18KB Datasheet HTML 162Page - NEC MPD78CP18KB Datasheet HTML 163Page - NEC MPD78CP18KB Datasheet HTML 164Page - NEC MPD78CP18KB Datasheet HTML 165Page - NEC MPD78CP18KB Datasheet HTML 166Page - NEC MPD78CP18KB Datasheet HTML 167Page - NEC MPD78CP18KB Datasheet HTML 168Page - NEC Next Button
Zoom Inzoom in Zoom Outzoom out
 164 / 373 page
background image
CHAPTER 8
ANALOG/DIGITAL CONVERTER FUNCTIONS
146
8.3.5 Example of analog/digital converter program
The example of an analog/digital converter program given here stores the A/D conversion values for pins AN0 to
AN7 in the memory area from 4000H to 403FH shown in Figure 8-8.
Figure 8-8. Memory Map (Store Example of A/D Conversion Result)
4000H
4008H
4010H
4018H
4020H
4028H
4030H
4038H
← AN0
← AN1
← AN2
← AN3
← AN4
← AN5
← AN6
← AN7
8
0
9
1
A
2
B
3
C
4
D
5
E
6
F
7
In this programming example the A/D converter is set to the scan mode. First, four A/D conversion operations
are performed on pins AN0 to AN3, and the AN0 to AN3 conversion results are stored in areas 4000H to 4003H,
4008H to 400BH, 4010H to 4013H, and 4018H to 401BH, respectively. Next, four A/D conversion operations are
performed on pins AN4 to AN7, and the AN4 to AN7 conversion results are stored in areas 4020H to 4023H, 4028H
to 402BH, 4030H to 4033H, and 4038H to 403BH, respectively. Then, conversion is performed again on pins AN0
to AN3, and the AN0 to AN3 conversion results are stored in areas 4004H to 4007H, 400CH to 400FH, 4014H to
4017H, and 401CH to 401FH, respectively. Finally, conversion is performed on pins AN4 to AN7, and the AN4 to
AN7 conversion results are stored in areas 4024H to 4027H, 402CH to 402FH, 4034H to 4037H, and 403CH to 403FH,
respectively. An example of a program which repeats the above operations show below.
First, the operation flow for initialization is shown in the following flowchart.



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


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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