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

X  

UPD17708 Datasheet(PDF) 296 Page - NEC

No. de pieza UPD17708
Descripción Electrónicos  4-BIT SINGLE-CHIP MICROCONTROLLERS WITH DEDICATED HARDWARE FOR DIGITAL TUNING SYSTEM
PDF  356 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  NEC [NEC]
Página de inicio  http://www.nec.com/
Logo NEC - NEC

UPD17708 Datasheet(HTML) 296 Page - NEC

Back Button UPD17708 Datasheet HTML 292Page - NEC UPD17708 Datasheet HTML 293Page - NEC UPD17708 Datasheet HTML 294Page - NEC UPD17708 Datasheet HTML 295Page - NEC UPD17708 Datasheet HTML 296Page - NEC UPD17708 Datasheet HTML 297Page - NEC UPD17708 Datasheet HTML 298Page - NEC UPD17708 Datasheet HTML 299Page - NEC UPD17708 Datasheet HTML 300Page - NEC Next Button
Zoom Inzoom in Zoom Outzoom out
 296 / 356 page
background image
296
µPD17704, 17705, 17707, 17708, 17709
Example Releasing halt status by timer 0 and INT0 pin interrupts
In this example, the halt status is released and processing B is executed when timer 0 interrupt is
accepted. And processing A is executed when INT0 pin interrupt is accepted.
Each time the halt status has been released, processing C is executed.
HLTINT
DAT
1000B
; Symbol definition
START:
; Address 0000H
BR
MAIN
;*** Interrupt vector address ***
NOP
; SI01
NOP
; SI00
NOP
; TIMER3
NOP
; TIMER2
NOP
; TIMER1
BR
INTTM0
; Branches to timer 0 interrupt processing
NOP
; INT4
NOP
; INT3
NOP
; INT2
NOP
; INT1
BR
INT0
; Branches to INT0 interrupt processing
NOP
; CE DOWN EDGE
INT0:
; INT0 pin interrupt vector address (000BH)
Processing A
; INT0 pin interrupt processing
EI
RETI
INTMM0:
Processing B
; Timer 0 interrupt processing
EI
RETI
MAIN:
INITFLG
NOT TMOCK1, TM0CK0
; Sets timer 0 count clock to 100
µs
MOV
DBF1, #0
MOV
DBF0, #0AH
PUT
TM0M,DBF
; Sets time interval of timer 0 interrupt to 1 ms
SET2
TM0RES, TM0EN
; Resets and starts timer 0
SET2
IPTM0, IP0
; Enables INT0 and timer 0 interrupts
LOOP:
Processing C
; Main routine processing
EI
; Enables all interrupts
HALT
HLTINT
; Specifies releasing halt status by interrupt
;<1>
BR
LOOP
If the INT0 pin interrupt request and timer 0 interrupt request are issued simultaneously in the halt status,
processing A for the INT0 pin, which has the higher hardware priority, is executed.
After execution of processing A and when “RETI” is executed, the program branches to the “BR LOOP”
instruction of <1>. However, the “BR LOOP” instruction is not executed, and timer 0 interrupt is immediately
accepted.
When the “RETI” instruction is executed after processing B of timer 0 interrupt has been executed, the
“BR LOOP” instruction is executed.



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