Electronic Components Datasheet Search
  English  ▼

X  

UPD17015 Datasheet(PDF) 41 Page - NEC

Part # UPD17015
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

UPD17015 Datasheet(HTML) 41 Page - NEC

Back Button UPD17015 Datasheet HTML 37Page - NEC UPD17015 Datasheet HTML 38Page - NEC UPD17015 Datasheet HTML 39Page - NEC UPD17015 Datasheet HTML 40Page - NEC UPD17015 Datasheet HTML 41Page - NEC UPD17015 Datasheet HTML 42Page - NEC UPD17015 Datasheet HTML 43Page - NEC UPD17015 Datasheet HTML 44Page - NEC UPD17015 Datasheet HTML 45Page - NEC Next Button
Zoom Inzoom in Zoom Outzoom out
 41 / 120 page
background image
41
µPD17015
10. TIMERS
The timers in the
µPD17015 are used to manage the time required to execute programs.
10.1
OVERVIEW
Fig. 10-1 shows the block diagrams of the timers.
The
µPD17015 contains the following two different timers.
• Basic timer 0
• Basic timer 1
Basic timers 0 and 1 are realized by detecting the state of a flip-flops that is set at constant intervals, using software.
Fig. 10-1 Overview of Timers
125 ms(8 Hz)
Set/clear
5 ms(200 Hz)
Set/clear
75 kHz
Frequency
divider
Basic timer 0
carry flip-flop
Basic timer 1
carry flip-flop
BTM0CY flag
BTM1CY flag
10.2
BASIC TIMERS 0 AND 1
10.2.1
Overview of Basic Timers 0 and 1
Basic timer 0 is realized by detecting the state of a basic timer 0 carry flip-flop, using the BTM0CY flag (bit 0 at
address 6EH). Basic timer 1 is realized by detecting the state of a basic timer 1 carry flip-flop, using the BTM1CY
flag (bit 0 at address 6FH).
The contents of the flip-flops correspond to the states of the BTM0CY and BTM1CY flags on a one-to-one basis,
respectively.
Time intervals (pulses) at which the BTM0CY and BTM1CY flags are set are as follows:
BTM0CY flag set pulse: 125 ms (8 Hz)
BTM1CY flag set pulse: 5 ms (200 Hz)
When the BTM0CY and BTM1CY flags are read-accessed for the first time after a power-on reset, these flags are
read as 0. Subsequently, the BTM0CY flag is set to 1 after an interval of 125 ms and the BTM1CY flag is set to 1
after an intervals of 5 ms.
Basic timer 0 also controls the timing of the reset (CE reset) by the CE pin.
After the CE pin goes from a low level to a high level, a CE reset occurs simultaneously when the BTM0CY flag
is set next time.
A power failure can therefore be detected by reading the BTM0CY flag when a system reset (power-on or CE reset)
occurs.
See Chapter 15 for power failure detection.



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