Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

UPD17072 Datasheet(PDF) 98 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) 98 Page - Renesas Technology Corp

Back Button 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 UPD17072 Datasheet HTML 100Page - Renesas Technology Corp UPD17072 Datasheet HTML 101Page - Renesas Technology Corp UPD17072 Datasheet HTML 102Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 98 / 228 page
background image
µPD17072,17073
96
12.3.4 Notes on using basic timer 1
When creating a program, such as a program for watch, in which processing is always performed at fixed time
intervals by using the basic timer 1 after the supply voltage has been once applied (power-ON reset), the basic timer
1 interrupt service must be completed in a fixed time.
Let’s take the following example:
Example
M1
MEM
0.10H
; 80-ms counter
BTIMER1 DAT
0002H
; Symbol definition of interrupt vector address of basic timer 1
BR
START
; Branches to START
ORG
BTIMER1
; Program address (0002H)
ADD
M1, #0001B
; Adds 1 to M1
SKT1
CY
; Watch processing if carry occurs
BR
EI_RETI
; Restores if no carry occurs
MOV
M1, #0110B
; <1>
Processing B
EI_RETI:
EI
RETI
START:
MOV
M1, #0110B
; Initializes contetns of M1 to 6
BANK1
SET1
BTM1CK
; Embedded macro
; Sets time of interrupt by basic timer 1 to 8 ms
SET1
IPBTM1
; Embedded macro
; Enables interrupt by basic timer 1
EI
; Enables all interrupts
LOOP:
Processing A
BR
LOOP
In this example, processing B is executed every 80 ms while processing A is executed.
If the CE pin goes high as shown in Figure 12-10, CE reset is effected in synchronization with the rising of the
BTM0CY flag setting pulse.
If issuance of an interrupt request by the basic timer 1 happens to overlap with the setting of the BTM0CY flag
at this time, CE reset takes precedence.
When CE reset is effected, the basic timer 1 interrupt request (IRQBTM1) flag is cleared. Consequently, the timer
processing is skipped once.



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