| Electronic Components Datasheet Search |
|
SH7713 Datasheet(PDF) 541 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
SH7713 Datasheet(HTML) 541 Page - Renesas Technology Corp |
|
541 / 904 page ![]() Section 14 Timer Unit (TMU) Rev.1.50 Aug. 30, 2006 Page 501 of 860 REJ09B0288-0150 Select operation Select counter clock Set underflow interrupt generation Set timer constant register Initialize timer counter Start counting (1) (2) (3) (4) (5) Note: When an interrupt has been generated, clear the flag in the interrupt handler that caused it. If interrupts are enabled without clearing the flag, another interrupt will be generated. (1) Select the counter clock with the TPSC2 to TPSC0 bits in TCR. (2) Use the UNIE bit in TCR to set whether to generate an interrupt when TCNT underflows. (3) Set a value in TCOR (the cycle is the set value plus 1). (4) Set the initial value in TCNT. (5) Set the STR bit in TSTR to 1 to start operation. Figure 14.2 Setting Count Operation Auto-Reload Count Operation: Figure 14.3 shows the TCNT auto-reload operation. TCNT value TCOR H'00000000 STR0–STR2 UNF TCOR value set to TCNT during underflow Time Figure 14.3 Auto-Reload Count Operation |
|
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 |