| Electronic Components Datasheet Search |
|
4513 Datasheet(PDF) 138 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
4513 Datasheet(HTML) 138 Page - Renesas Technology Corp |
|
138 / 210 page ![]() APPLICATION 2.3 Timers 2-35 4513/4514 Group User’s Manual Fig. 2.3.6 CNTR0 output control setting example b3 b0 Disable Interrupts Timer 3 and timer 4 interrupt are temporarily disabled. Interrupt enable flag INTE Interrupt control register V2 “0” !! All interrupts disabled (DI instruction) Timer 3 and timer 4 interrupt occurrence disabled (TV2A instruction) 0 0 b3 b0 10 Stop Timer Operation Timer is temporarily stopped. Dividing ratio of prescaler is selected. Timer 3 count source is selected. Timer 4 count source is selected. Timer control register W3 ! Timer 3 stop (TW3A instruction) Prescaler selected for count source Timer 4 stop (TW4A instruction) Timer 3 underflow selected for count source Instruction clock divided by 4 selected (TW1A instruction) b3 b0 01 0 Timer control register W4 ! ! Timer control register W1 b3 b0 00 0 ! Set Timer Value, Select CNTR1 Output CNTR1 output is selected. Timer 3 and timer 4 count time are set. Timer control register W6 Timer 3 reload register R3 Timer 3 reload register R4 “2916” “FF16” Timer count value 41 set (T3AB instruction) Timer count value 255 set (T4AB instruction) b3 b0 1 ! 1 ! CNTR1 output selected (TW6A instruction) Start Timer Operation Timer 3 and timer 4 temporarily stopped are restarted. Timer 3 operation start (TW3A instruction) Timer 4 operation start (TW4A instruction) b3 b0 10 Timer control register W3 Timer control register W4 ! 1 b3 b0 10 ! 0 Enable Interrupts Interrupt enable flag INTE “1” All interrupts enabled (EI instruction) “!”: it can be “0” or “1.” |
|
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 |