Electronic Components Datasheet Search
  English  ▼

X  

7540 Datasheet(PDF) 132 Page - Renesas Technology Corp

Part # 7540
Description  8-BIT CISC SINGLE-CHIP MICROCOMPUTER 740 FAMILY / 740 SERIES
PDF  366 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

7540 Datasheet(HTML) 132 Page - Renesas Technology Corp

Back Button 7540 Datasheet HTML 128Page - Renesas Technology Corp 7540 Datasheet HTML 129Page - Renesas Technology Corp 7540 Datasheet HTML 130Page - Renesas Technology Corp 7540 Datasheet HTML 131Page - Renesas Technology Corp 7540 Datasheet HTML 132Page - Renesas Technology Corp 7540 Datasheet HTML 133Page - Renesas Technology Corp 7540 Datasheet HTML 134Page - Renesas Technology Corp 7540 Datasheet HTML 135Page - Renesas Technology Corp 7540 Datasheet HTML 136Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 132 / 366 page
background image
2-56
REJ09B0018-0200Z
Rev.2.00
Jun 21, 2004
APPLICATION
7540 Group
2.4 Timer X
(3) Application example of event counter mode
Outline: Pulses generated corresponding to the water flow rate are counted for a fixed period
(100 ms), and the water flow rate during this period is calculated.
Specifications: Pulses generated corresponding to the water flow rate are input to the P14/CNTR0
pin and counted using timer X.
The contents of timer X are read in the timer Y interrupt processing routine generated
after 100 ms from the start of counting pulses, and the water flow rate during 100
ms is calculated.
Operation clock: f(XIN) = 8 MHz, high-speed mode
Figure 2.4.20 shows an example of peripheral circuit, Figure 2.4.21 shows the method of measuring
water flow rate, and Figure 2.4.21 shows an example of control procedure.
Fig. 2.4.20 Example of peripheral circuit
7540 Group
P14/CNTR0
Water flow rate sensor
Water
flow
Blades rotate in proportion to
water flow and generate pulses.
The faster the water flow,
the shorter the pulse period.
Fig. 2.4.21 Method of measuring water flow rate
CNTR0 pin input
Timer Y interrupt request bit
100 ms
Timer X counting (Note)
Note: Counting rising edges.
• Flow rate during 100 ms = (FF16–read value of timer X) ✕ flow rate per pulse
Timer Y interrupt processing routine
• Timer X, timer Y stop counting.
• Timer X is read out.
Timer X, timer Y
start counting.



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