| Motor de Búsqueda de Datasheet de Componentes Electrónicos |
|
MPD78CP14KB Datasheet(PDF) 120 Page - NEC |
|
|
|||||||||||||||||||||||||||||
MPD78CP14KB Datasheet(HTML) 120 Page - NEC |
|
120 / 373 page ![]() 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 φ |
|
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 |
| 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 |