| Electronic Components Datasheet Search |
|
7641 Datasheet(PDF) 152 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
7641 Datasheet(HTML) 152 Page - Renesas Technology Corp |
|
152 / 385 page ![]() Rev.2.00 Aug 28, 2006 page 21 of 148 7641 Group REJ09B0336-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.12 shows the timers connection and setting of division ratios; Figure 2.2.13 shows the related registers setting; Figure 2.2.14 shows the control procedure. Fig. 2.2.12 Timers connection and setting of division ratios 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 |
|
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 |
| 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 |