Electronic Components Datasheet Search
  English  ▼

X  

7480 Datasheet(PDF) 222 Page - Renesas Technology Corp

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

7480 Datasheet(HTML) 222 Page - Renesas Technology Corp

Back Button 7480 Datasheet HTML 218Page - Renesas Technology Corp 7480 Datasheet HTML 219Page - Renesas Technology Corp 7480 Datasheet HTML 220Page - Renesas Technology Corp 7480 Datasheet HTML 221Page - Renesas Technology Corp 7480 Datasheet HTML 222Page - Renesas Technology Corp 7480 Datasheet HTML 223Page - Renesas Technology Corp 7480 Datasheet HTML 224Page - Renesas Technology Corp 7480 Datasheet HTML 225Page - Renesas Technology Corp 7480 Datasheet HTML 226Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 222 / 337 page
background image
7480 Group and 7481 Group User's Manual
2-7
APPLICATIONS
Figure 2.2.5 Control Procedure Example of Measuring Water Flow Rate
2.2 Timer X and Timer Y
Set timer X mode register
1
TXM(Address 00F616)
Timer • event count mode
Writing to latch and timer simultaneously
Flow rate measuring routine
Timer X interrupt enable bit
← 1
Timer X
← C34F16 (Note 2)
Set timer XY control register
×× 00 00
TXYCON(Address 00F816)
Timer X count start
0
0
Set timer XY control register
TXYCON(Address 00F816)
Timer X count stop
1
1
Timer Y count stop
Timer X interrupt enable bit
← 0
Timer Y interrupt enable bit
← 0
Set timer Y mode register
1
TYM(Address 00F716)
Timer • event count mode
Writing to latch and timer simultaneously
00 0
Timer Y
← FFFF16 (Note 1)
Timer Y count start
END
RTI
Set timer XY control register
TXYCON(Address 00F816)
Timer X count stop
1
1
Timer Y count stop
Timer X interrupt service routine
Timer Y is read out (Note 3).
Timer X interrupt request bit
← 0
Timer Y interrupt request bit
← 0
Timer Y count source: CNTR1 pin input
Timer X count source: f(XIN)/16
CNTR1 edge selection bit
← 0
(counting rising edges)
0
0
1
Note 1: • Initial value.
• Write to timer Y in order of low-order to high-order byte.
2: • C34F16 = 50000 – 1.
• Write to timer X in order of low-order to high-order byte.
3: • (FFFF16 – the read value of Timer Y) = the number of CNTR1
edges detected during 100 ms.
• Read from timer Y in order of high-order to low-order byte.
b0
b7
b0
b7
b0
b7
b0
b7
b0
b7
Port P41 (alternative function of CNTR1) is set to input.
××



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