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

X  

UPD17062 Datasheet(PDF) 163 Page - Renesas Technology Corp

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

UPD17062 Datasheet(HTML) 163 Page - Renesas Technology Corp

Back Button UPD17062 Datasheet HTML 159Page - Renesas Technology Corp UPD17062 Datasheet HTML 160Page - Renesas Technology Corp UPD17062 Datasheet HTML 161Page - Renesas Technology Corp UPD17062 Datasheet HTML 162Page - Renesas Technology Corp UPD17062 Datasheet HTML 163Page - Renesas Technology Corp UPD17062 Datasheet HTML 164Page - Renesas Technology Corp UPD17062 Datasheet HTML 165Page - Renesas Technology Corp UPD17062 Datasheet HTML 166Page - Renesas Technology Corp UPD17062 Datasheet HTML 167Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 163 / 298 page
background image
161
µPD17062
13.4.4
Releasing the Halt State by the Timer Carry FF
The HALT 0010B instruction specifies the timer carry FF as a halt release condition.
If it is specified that the halt state is to be released according to the timer carry FF, the halt state is released
immediately when the timer carry FF is set to 1.
The timer carry FF corresponds to the BTM0CY flag (bit b0 at address 17H) in the control register on a one-
to-one basis, and is set to 1 at constant intervals (5 or 100 ms).
Use of the timer carry FF can therefore release the halt state at constant intervals.
An example of using the HALT 0010B instruction follows:
Example
HLTTMR
DAT 0010B
; Defines a symbol.
INITFLG
NOT BTM0ZX, NOT BTM0CK2, NOT BTM0CK1, NOT BTM0CK0
; Built-in macro
; Specifies the timer carry FF setting time interval as 100 ms.
LOOP1:
MOV
M1, #0110B
LOOP2:
HALT
HLTTMR
; Specifies the timer carry FF as a halt release condition.
SKT1
BTM0CY
; Built-in macro
BR
LOOP
; Branches to LOOP2 if the BTM0CY flag is not set.
ADD
M1, #0001B
; Adds 0001B to the contents of M1.
SKT1
CY
; Built-in macro
BR
LOOP2
; Performs process A if there is a carry.
Process A
BR
LOOP1
This sample program releases the halt state at intervals of 100 ms and perform process A at intervals of
1 s.



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