Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

7643 Datasheet(PDF) 137 Page - Renesas Technology Corp

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

7643 Datasheet(HTML) 137 Page - Renesas Technology Corp

Back Button 7643 Datasheet HTML 133Page - Renesas Technology Corp 7643 Datasheet HTML 134Page - Renesas Technology Corp 7643 Datasheet HTML 135Page - Renesas Technology Corp 7643 Datasheet HTML 136Page - Renesas Technology Corp 7643 Datasheet HTML 137Page - Renesas Technology Corp 7643 Datasheet HTML 138Page - Renesas Technology Corp 7643 Datasheet HTML 139Page - Renesas Technology Corp 7643 Datasheet HTML 140Page - Renesas Technology Corp 7643 Datasheet HTML 141Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 137 / 424 page
background image
Rev.2.00
Aug 28, 2006
page 16 of 202
7643 Group
REJ09B0133-0200
APPLICATION
2.2 Timer
(2)
Timer application example 1: Clock function (measurement of 1 s)
Outline: The input clock is divided by the timer so that the clock can count up at 1 s intervals.
Specifications: •The clock f(XCIN) = 32 kHz is divided by the timer.
•The timer 2 interrupt request bit is checked in main routine, and if the interrupt
request is issued, the clock is counted up.
• The timer 1 interrupt occurs every 10 ms to execute processing of other interrupts.
Figure 2.2.8 shows the timers connection and setting of division ratios; Figure 2.2.9 shows the
related registers setting; Figure 2.2.10 shows the control procedure.
Fig. 2.2.8 Timers connection and setting of division ratios
2.2.3 Timer application examples
(1) Basic functions and uses
[Function 1] Control of event interval (Timer 1 to Timer 3)
When a certain time, by setting a count value to each timer, has passed, the timer interrupt request occurs.
<Use>
•Generating of an output signal timing
•Generating of a wait time
[Function 2] Control of cyclic operation (Timer 1 to Timer 3)
The value of the timer latch is automatically written to the corresponding timer each time the
timer
underflows, and each timer interrupt request occurs in cycles.
<Use>
•Generating of cyclic interrupts
•Clock function (measurement of 1 s); see “(2) Timer application example 1”
•Control of a main routine cycle
[Function 3] Output of rectangular waveform
(Timer 1, Timer 2)
The output levels of the TOUT pin is inverted each time the timer underflows.
<Use>
•Piezoelectric buzzer output; see “(3) Timer application example 2”
•Generating of the remote control carrier waveforms
f(XCIN)
32 kHz
10 ms
1/2
1/160
1/100
0/1
0/1
0 : No interrupt request issued
1 : Interrupt request issued
1 s
Timer 1
Timer 1 interrupt
request bit
Timer 2
Timer 2 interrupt request bit



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