Download Print this page

Timer Control Register (Tcr) - Renesas H8S Family Hardware Manual

Advertisement

Section 11 8-Bit Timer (TMR)

11.2.4

Timer Control Register (TCR)

TCR selects the TCNT clock source and the condition by which TCNT is cleared, and
enables/disables interrupt requests.
TCR_Y can be accessed when the TMRX/Y bit in TCONRS is 1. TCR_X can be accessed when
the TMRX/Y bit in TCONRS is 0. See section 11.2.6, Timer Connection Register S (TCONRS).
Bit
Bit Name
7
CMIEB
6
CMIEA
5
OVIE
4
CCLR1
3
CCLR0
2 to 0
CKS2 to
CKS0
Rev. 1.00 Mar. 12, 2008 Page 396 of 1178
REJ09B0403-0100
Initial
Value
R/W
Description
0
R/W
Compare-Match Interrupt Enable B
Selects whether the CMFB interrupt request (CMIB) is
enabled or disabled when the CMFB flag in TCSR is set to
1.
0: CMFB interrupt request (CMIB) is disabled
1: CMFB interrupt request (CMIB) is enabled
0
R/W
Compare-Match Interrupt Enable A
Selects whether the CMFA interrupt request (CMIA) is
enabled or disabled when the CMFA flag in TCSR is set to
1.
0: CMFA interrupt request (CMIA) is disabled
1: CMFA interrupt request (CMIA) is enabled
0
R/W
Timer Overflow Interrupt Enable
Selects whether the OVF interrupt request (OVI) is
enabled or disabled when the OVF flag in TCSR is set to
1.
0: OVF interrupt request (OVI) is disabled
1: OVF interrupt request (OVI) is enabled
0
R/W
Counter Clear 1 and 0
0
R/W
Specify the clearing conditions of TCNT.
00: Counter clear is disabled
01: Counter clear is enabled on compare-match A
10: Counter clear is enabled on compare-match B
11: Setting prohibited
All 0
R/W
Clock Select 2 to 0
Select the clock input to TCNT and count condition,
together with the ICKS1 and ICKS0 bits in STCR. For
details, see table 11.1.

Advertisement

loading

This manual is also suitable for:

R4f2472R4f2462H8s/2462H8s/2400 seriesH8s/2472