| Motor de Búsqueda de Datasheet de Componentes Electrónicos |
|
MPD78CP18KB Datasheet(PDF) 122 Page - NEC |
|
|
|||||||||||||||||||||||||||||
MPD78CP18KB Datasheet(HTML) 122 Page - NEC |
|
122 / 373 page ![]() CHAPTER 6 TIMER/EVENT COUNTER FUNCTIONS 104 Figure 6-25. Interrupt Mask Register (MKL) Setting (Single Pulse Output: INTE1 Mask Release) The INTEIN interrupt service program is shown below. A JMP EINSV instruction must be stored in the INTEIN interrupt start address (0020H). ;***TIMER/EVENT COUNTER SERVICE******** EINSV : EXA ; Save accumulator EXX ; Save register DMOV EA, ECPT LXI B, 0064H DADD EA, B ; Low level : 100 µs at 12 MHz DMOV ETM0, EA ; Set count value <a> LXI B, 00C8H DADD EA, B ; High level : 200 µs at 12 MHz DMOV ETM1, EA ; Set count value MVI A, 34H MOV ETMM, A <b> ORI EOM, 0AH ; Set level F/F, inversion enable ANI MKL, 0BFH ; INTEIN, INTE1 enable <c> EXX ; Recover register EXA ; Recover accumulator EI RETI After the interrupt service program by INTEIN, an internal interrupt (INTE1) is generated when the contents of ECNT and ETM1 are the same. The flowchart of this interrupt processing is shown below. × × MKL 0 2 4 5 6 7 01 ×× × × 31 INTE0 masking INTE1 masking released |
|
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 |