| Electronic Components Datasheet Search |
|
SH7101 Datasheet(PDF) 388 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
SH7101 Datasheet(HTML) 388 Page - Renesas Technology Corp |
|
388 / 560 page ![]() Section 12 Compare Match Timer (CMT) Rev.1.00 Sep. 18, 2008 Page 354 of 522 REJ09B0069-0100 12.2.3 Compare Match Timer Counters_0 and 1 (CMCNT_0, CMCNT_1) CMCNT is a 16-bit register used as an up-counter for generating interrupt requests. CMCNT is initialized to H'0000. 12.2.4 Compare Match Timer Constant Registers_0 and 1 (CMCOR_0, CMCOR_1) CMCOR is a 16-bit register that sets the period for compare match with CMCNT. CMCOR is initialized to H'FFFF. 12.3 Operation 12.3.1 Cyclic Count Operation When an internal clock is selected with the CKS1 and CKS0 bits in CMCSR and the STR bit in CMSTR is set to 1, CMCNT begins incrementing with the selected clock. When the CMCNT counter value matches that of the compare match constant register (CMCOR), the CMCNT counter is cleared to H'0000 and the CMF flag in CMCSR is set to 1. If the CMIE bit in CMCSR is set to 1 at this time, a compare match interrupt (CMI) is requested. The CMCNT counter begins counting up again from H'0000. Figure 12.2 shows the compare match counter operation. CMCNT value CMCOR H'0000 Counter cleared by CMCOR compare match Time Figure 12.2 Counter 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 |