Zakładka z wyszukiwarką danych komponentów
  Polish  ▼
ALLDATASHEET.PL

X  

MPD78CP18KB Arkusz danych(PDF) 120 Page - NEC

Numer części MPD78CP18KB
Szczegółowy opis  8-BIT SINGLE-CHIP MICROCONTROLLER
PDF  373 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Producent  NEC [NEC]
Strona internetowa  http://www.nec.com/
Logo NEC - NEC

MPD78CP18KB Arkusz danych(HTML) 120 Page - NEC

Back Button MPD78CP18KB Datasheet HTML 116Page - NEC MPD78CP18KB Datasheet HTML 117Page - NEC MPD78CP18KB Datasheet HTML 118Page - NEC MPD78CP18KB Datasheet HTML 119Page - NEC MPD78CP18KB Datasheet HTML 120Page - NEC MPD78CP18KB Datasheet HTML 121Page - NEC MPD78CP18KB Datasheet HTML 122Page - NEC MPD78CP18KB Datasheet HTML 123Page - NEC MPD78CP18KB Datasheet HTML 124Page - NEC Next Button
Zoom Inzoom in Zoom Outzoom out
 120 / 373 page
background image
CHAPTER 6
TIMER/EVENT COUNTER FUNCTIONS
102
An example of the initialization program is shown below.
;***TIMER/EVENT COUNTER INITIALIZATION******
INIT
: MVI
A, 00H
MOV
ETMM, A
; Clear timer/event counter
<a>
MVI
EOM, 05H
; Initialize counter output 0
MVI
A, 60H
; PC5 : CI, PC6 : CO0
MOV
MCC, A
; Set port mode control
ANI
MKL, 7FH
; INTEIN enable
<c>
START : MVI
A, 04H
; ECNT free running
MOV
ETMM, A
; Set timer/event counter mode & start
After initialization, when the CI input falls the value of the free running ECNT (the value at the time of the CI input
fall) is latched in the ECPT (TIMER/EVENT COUNTER CAPTURE REG) and an internal interrupt (INTEIN) is generated.
The operation flow for the servicing of this interrupt is shown below.
Figure 6-23. Timer/Event Counter Mode Register Setting (Single Pulse Output: ECNT Operation Setting)
<d>
<b>
EINSV
Count value
setting
Timer/event counter
mode setting
Interrupt mask register
setting
RETI
< a >
< b >
< c >
1
0
ETMM
0
2
4
5
6
7
000
0
0
0
31
ECNT input clock: Internal clock ( 12)
ECNT clear mode: Free running
φ



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


Arkusz danych Pobierz

Go To PDF Page


Link URL



Czy Alldatasheet okazała się pomocna?  [ DONATE ] 

O Alldatasheet   |   Reklama   |   Kontakt   |   Polityka prywatności   |   Link do karty katalogowej    |   Linki   |   Lista producentów
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