Electronic Components Datasheet Search
  English  ▼

X  

UPD17015GS Datasheet(PDF) 44 Page - NEC

Part # UPD17015GS
Description  4-BIT SINGLE-CHIP MICROCONTROLLER FOR PORTABLE RADIOS
PDF  120 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  NEC [NEC]
Direct Link  http://www.nec.com/
Logo NEC - NEC

UPD17015GS Datasheet(HTML) 44 Page - NEC

Back Button UPD17015GS Datasheet HTML 40Page - NEC UPD17015GS Datasheet HTML 41Page - NEC UPD17015GS Datasheet HTML 42Page - NEC UPD17015GS Datasheet HTML 43Page - NEC UPD17015GS Datasheet HTML 44Page - NEC UPD17015GS Datasheet HTML 45Page - NEC UPD17015GS Datasheet HTML 46Page - NEC UPD17015GS Datasheet HTML 47Page - NEC UPD17015GS Datasheet HTML 48Page - NEC Next Button
Zoom Inzoom in Zoom Outzoom out
 44 / 120 page
background image
44
µPD17015
10.2.3 Example of Using Basic Timer 0
A sample program follows. The following program performs process A at every one second.
Example
M1
MEM 0.10H
; 1 second counter
LOOP:
SKT1
BTM0CY
; Branches to NEXT if BTM0CY is 0.
BR
NEXT
ADD
M1, #0100B
; Adds 4 to M1.
SKT1
CY
; Branches to NEXT if CY flag is 0.
BR
NEXT
; Performs process A if CY flag is 1.
Process A
NEXT:
Process B
; Performs B and branches to LOOP.
BR
LOOP
10.2.4
Time Interval Error in Basic Timers 0 and 1
The time interval at which the BTM0CY and BTM1CY flags are detected must be shorter than the time interval
at which the BTM0CY and BTM1CY flags are set. (See Section 10.2.5.)
Assuming that the BTM0CY or BTM1CY flag is detected at intervals of tCHECK and set at intervals of tSET (125 or
5 ms, respectively), the relationship between tCHECK and tSET must be as follows:
tCHECK < tSET
Under this condition, the time interval error encountered when the BTM0CY and BTM1CY flags are detected is
as follows:
0 < error < tSET
Fig. 10-4 Basic Timers 0 and 1 Error Related to the Detection Time of the BTM0CY and BTM1CY Flags
tSET
tCHECK1
tCHECK2
tCHECK3
SKT1
BTM0CY
or
SKT1
BTM1CY
SKT1
BTM0CY
or
SKT1
BTM1CY
SKT1
BTM0CY
or
SKT1
BTM1CY
SKT1
BTM0CY
or
SKT1
BTM1CY
BTM1CY flag set pulse
BTM0CY flag set pulse
BTM1CY flag
BTM0CY flag
H
L
1
0
1
2
3
4



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