Electronic Components Datasheet Search
  English  ▼

X  

UPD17072 Datasheet(PDF) 95 Page - Renesas Technology Corp

Part # UPD17072
Description  MOS INTEGRATED CIRCUIT
PDF  228 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

UPD17072 Datasheet(HTML) 95 Page - Renesas Technology Corp

Back Button UPD17072 Datasheet HTML 91Page - Renesas Technology Corp UPD17072 Datasheet HTML 92Page - Renesas Technology Corp UPD17072 Datasheet HTML 93Page - Renesas Technology Corp UPD17072 Datasheet HTML 94Page - Renesas Technology Corp UPD17072 Datasheet HTML 95Page - Renesas Technology Corp UPD17072 Datasheet HTML 96Page - Renesas Technology Corp UPD17072 Datasheet HTML 97Page - Renesas Technology Corp UPD17072 Datasheet HTML 98Page - Renesas Technology Corp UPD17072 Datasheet HTML 99Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 95 / 228 page
background image
µPD17072,17073
93
12.3.2 Application example of basic timer 1
A program example is shown below.
Example
M1
MEM
0.10H
; 80-ms counter
BTIMER1 DAT
0002H
; Symbol definition of basic timer 1 interrupt vector address
BR
START
; Branches to START
ORG
BTIMER1
; Program address (0002H)
ADD
M1, #0001B
; Adds 1 to M1
SKT1
CY
; Tests CY flag
BR
EI_RETI
; Returns if no carry
MOV
M1, #0110B
Processing A
EI_RETI:
EI
RETI
START:
MOV
M1, #0110B
; Initializes contents of M1 to 6
BANK1
SET1
BTM1CK
; Embedded macro
; Sets basic timer 1 interrupt pulse to 8 ms
SET1
IPBTM1
; Enables basic timer 1 interrupt
EI
; Enables all interrupts
LOOP:
BANK0
Processing B
BR
LOOP
This program executes processing A every 80 ms.
The points to be noted in this case are that the DI status is automatically set when an interrupt has been accepted,
and that the IRQBTM1 flag is set to 1 even in the DI status.
This means that the interrupt is accepted even if execution exits from an interrupt service routine by execution of
the “RETI” instruction, if processing A takes longer than 8 ms.
Consequently, processing B is not 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 Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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