Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Mexican  ▼
ALLDATASHEET.COM.MX

X  

MPD78CP18KB Datasheet(PDF) 166 Page - NEC

No. de pieza MPD78CP18KB
Descripción Electrónicos  8-BIT SINGLE-CHIP MICROCONTROLLER
PDF  373 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  NEC [NEC]
Página de inicio  http://www.nec.com/
Logo NEC - NEC

MPD78CP18KB Datasheet(HTML) 166 Page - NEC

Back Button 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 MPD78CP18KB Datasheet HTML 169Page - NEC MPD78CP18KB Datasheet HTML 170Page - NEC Next Button
Zoom Inzoom in Zoom Outzoom out
 166 / 373 page
background image
CHAPTER 8
ANALOG/DIGITAL CONVERTER FUNCTIONS
148
<d> The A/D channel mode register is cleared to 00H when a reset is performed, and A/D conversion is
performed on pins AN0 to AN3 in the scan mode. The conversion values are stored in register CR0
to CR3, and it is possible that the interrupt request flag (INTFAD) may be set (1). Therefore, the interrupt
request flag is reset (0) by a skip operation before setting the MKAD bit of the interrupt mask register
(MKH) to "0" and releasing masking.
<e> The MKAD bit of the interrupt mask register (MKH) is reset(0), releasing masking of INTAD internal
interrupts.
The A/D converter initialization routine is shown below.
;*****A/D CONVERTER INITIALIZATION*******
ADIN : LXI
H, 4000H
; Set data pointer
<a>
LXI
B, 0301H
; Set counter
LXI
D, 0101H
; Set counter
EXX
; Exchange register set
MVI
ANM, 00H
;
<c>
SKIT
FAD
; Reset INTFAD
NOP
ANI
MKH, 0FEH ; INTAD enable
<e>
In the INTAD interrupt service routine, the A/D conversion values in CR0 to CR3 are stored in the prescribed
memory locations. The operation flow is shown below.
<b>
<d>



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 Descarga

Go To PDF Page


Enlace URL



¿ALLDATASHEET es útil para Ud.?  [ DONATE ] 

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Enlace a la hoja de datos    |   Intercambio de Enlaces   |   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