English
Language : 

SH7763 Datasheet, PDF (818/2026 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC Engine Family SH-4A Series
Section 21 Compare Match Timer (CMT)
21.2.2 Compare Match Timer Control/Status Register (CMCSR)
CMCSR is a 16-bit register that indicates the occurrence of compare matches, enables interrupts
and DMA transfer request, and sets the counter input clocks.
Do not change bits other than bits CMF and OVF during the compare match timer counter
(CMCNT) operation.
Bit: 15 14 13 12 11 10 9
8
7
CMF OVF 


 CMS CMM 
Initial value: 0
0
0
0
0
0
0
0
0
R/W: R/(W)* R/(W)* R
R
R
R R/W R/W R
6
5
4
3
2
1
0

CMR[1:0]

CKS[2:0]
0
0
0
0
0
0
0
R R/W R/W R R/W R/W R/W
Initial
Bit
Bit Name Value R/W Description
15
CMF
0
R/(W)*1 Compare Match Flag
This flag indicates whether or not values of the compare
match timer counter (CMCNT) and compare match timer
constant register (CMCOR) have matched.
Software cannot write 1 to the bit. When one-shot is
selected for the counter operation, counting resumes by
clearing this bit.
0: CMCNT and CMCOR values have not matched
[Clearing condition]
• Write 0 to CMF after reading CMF=1
1: CMCNT and CMCOR values have matched
14
OVF
0
R/(W)*1 Overflow Flag
This flag indicates whether or not the compare match
timer counter (CMCNT) has overflowed and been cleared
to 0. Software cannot write 1 to this bit.
0: CMCNT has not overflowed
[Clearing condition]
• Write 0 to OVF after reading OVF=1
1: CMCNT has overflowed
Rev. 1.00 Oct. 01, 2007 Page 752 of 1956
REJ09B0256-0100