Electronic Components Datasheet Search
  English  ▼

X  

D17133CS Datasheet(PDF) 138 Page - NEC

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

D17133CS Datasheet(HTML) 138 Page - NEC

Back Button D17133CS Datasheet HTML 134Page - NEC D17133CS Datasheet HTML 135Page - NEC D17133CS Datasheet HTML 136Page - NEC D17133CS Datasheet HTML 137Page - NEC D17133CS Datasheet HTML 138Page - NEC D17133CS Datasheet HTML 139Page - NEC D17133CS Datasheet HTML 140Page - NEC D17133CS Datasheet HTML 141Page - NEC D17133CS Datasheet HTML 142Page - NEC Next Button
Zoom Inzoom in Zoom Outzoom out
 138 / 289 page
background image
CHAPTER 13
PERIPHERAL HARDWARE
123
(2) Calculation method of count value
The time interval of the identity signal being emitted from the comparator is determined by the value that
is set in the modulo register. The formula for finding the value N of the modulo register from the time interval
T [sec] is shown below:
T=
= (N+1)
× TCP
N=T
× fCP –1 or N=
–1 (N=1 to 255)
fCP : Count pulse's frequency [Hz]
TCP : Count pulse's frequency [sec] (1/fCP = resolution)
(3) Calculation example and program example when calculating count value by interval time
• Example of assuming 7 ms as interval time for timer (System clock: fX=8 MHz)
Assuming 7 ms as interval time, it is impossible to set 7 ms interval time from the resolution of the timer.
Therefore, count value should be calculated by selecting the source clock the resolution of which is
maximum (fX/256, resolution: 32
µs) to set the nearest interval time.
Example t=7 ms, resolution: 32
µs
N=
–1
=– 1
= 217.75=218 (: DAH)
The value of modulo register the interval time of which becomes nearest to 7 ms is DAH, and the interval
time at that time becomes 7.008 ms.
fCP
N+1
T
TCP
t
(Resolution)
7
× 10–3
32
× 10–5



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