| Electronic Components Datasheet Search |
|
M30620FCAFP Datasheet(PDF) 509 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
M30620FCAFP Datasheet(HTML) 509 Page - Renesas Technology Corp |
|
509 / 615 page ![]() Mitsubishi microcomputers M16C / 62A Group SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER 2-192 Timer A Applications 3.1 Long-Period Timers Overview Specifications Operation Figure 3.1.1. Operation timing of long-period timers In this process, Timer A0 and Timer A1 are connected to make a 16-bit timer with a 16-bit prescaler. Figure 3.1.1 shows the operation timing, Figure 3.1.2 shows the connection dia- gram, and Figures 3.1.3 and 3.1.4 show the set-up procedure. Use the following peripheral functions: • Timer mode of timer A • Event counter mode of timer A (1) Set timer A0 to timer mode, and set timer A1 to event counter mode. (2) Perform a count on count source f1 using timer A0 to count for 1 ms, and perform a count on timer A0 using timer A1 to count for 1 second. (3) Connect a 16-MHz oscillator to XIN. (1) Setting the count start flag to “1” causes the counter to begin counting. The counter of timer A0 performs a down count on count source f1. (2) If the counter of timer A0 underflows, the counter reloads the content of the reload register and continues counting. At this time, the timer A0 interrupt request bit goes to “1”. The counter of timer A1 performs a down count on underflows in timer A0. (3) If the counter of timer A1 underflows, the counter reloads the content of the reload register and continues counting. At this time, the timer A1 interrupt request bit goes to “1”. FFFF16 l 000016 l = reload register content Timer A1 count start flag “1” “0” Timer A1 interrupt request bit “1” “0” Timer A0 interrupt request bit “1” “0” Timer A0 count start flag “1” “0” 000016 n FFFF16 Time (1) Start count Start count. Time n = reload register content Set to “1” by software Set to “1” by software Cleard “0” by software Cleared to “0” when interrupt request is accepted, or cleared by software (2) Timer A0 underflow (3) Timer A1 underflow |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Datasheet Upload | 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 |