RX610 Group
17. 8-Bit Timer (TMR)
R01UH0032EJ0120 Rev.1.20
Page 568 of 1006
Feb 20, 2013
17.2.4
Timer Control Register (TCR)
Addresses: TMR0.TCR 0008 8200h, TMR1.TCR 0008 8201h
TMR2.TCR 0008 8210h, TMR3.TCR 0008 8211h
b7
b6
b5
b4
b3
b2
b1
b0
Value after reset:
0
0
0
0
0
0
0
0
CMIEB
CMIEA
OVIE
CCLR[1:0]
Bit
Symbol
Bit Name
Description
R/W
b2 to b0
Reserved
These bits are always read as 0. The write value should
always be 0.
R/W
b4, b3
CCLR[1:0]
Counter Clear
*
b4 b3
0 0: Clearing is disabled
0 1: Cleared by compare match A
1 0: Cleared by compare match B
1 1: Cleared by the external reset input
(Select edge or level by the TMRIS bit in TCCR.)
R/W
b5
OVIE
Timer Overflow Interrupt
Enable
0: Overflow interrupt requests (OVIm) are disabled
1: Overflow interrupt requests (OVIm) are enabled
R/W
b6
CMIEA
Compare Match Interrupt
Enable A
0: Compare match A interrupt requests (CMIAm) are
disabled
1: Compare match A interrupt requests (CMIAm) are
enabled
R/W
b7
CMIEB
Compare Match Interrupt
Enable B
0: Compare match B interrupt requests (CMIBm) are
disabled
1: Compare match B interrupt requests (CMIBm) are
enabled
R/W
Note:
*
To use an external reset, set the Pn.DDR.Bi bit for the corresponding pin to "0" and the Pn.ICR.Bi bit to "1".
TCR specifies the condition for clearing TCNT.
CCLR[1:0] Bits (Counter Clear)
Select the method by which TCNT is cleared.
OVIE Bit (Timer Overflow Interrupt Enable)
Selects whether overflow interrupt requests (OVIm) issued by TCNT are enabled or disabled.
CMIEA Bit (Compare Match Interrupt Enable A)
Selects whether compare match A interrupt requests (CMIAm) that are issued when the value of TCORA corresponds to
that of TCNT are enabled or disabled.
CMIEB Bit (Compare Match Interrupt Enable B)
Selects whether compare match B interrupt requests (CMIBm) that are issued when the value of TCORB corresponds to
that of TCNT are enabled or disabled.
Summary of Contents for RX600 Series
Page 1006: ...RX610 Group R01UH0032EJ0120 ...