Datasheet

Section 13 Timer Connection
Rev. 3.00 Mar 21, 2006 page 339 of 788
REJ09B0300-0300
Table 13.9 Examples of OCRAR, OCRAF, TCORA, TCORB, TCR, and TCSR Settings
Register Bit Abbreviation Contents Description
7CMIEB 0
6CMIEA 0
5OVIE 0
Interrupts due to compare-match and
overflow are disabled
4 and 3 CCLR1 and
CCLR0
01 TCNT is cleared by compare-match A
TCR in
TMR_Y
2 to 0 CKS2 to CKS0 001 TCNT is incremented on internal clock:
φ/4
TCSR in
TMR_Y
3 to 0 OS3 to OS0 0110 0 output on compare-match B
1 output on compare-match A
TCORA in TMR_Y H'3F
(example)
IHG signal period = φ × 256
TCORB in TMR_Y H'03
(example)
IHG signal 1 interval = φ × 16
TCR in FRT 1 and 0 CKS1 and
CKS0
01 FRC is incremented on internal clock: φ/8
OCRAR in FRT H'7FEF
(example)
IVG signal 0
interval =
φ × 262016
OCRAF in FRT H'000F
(example)
IVG signal 1
interval = φ × 128
IVG signal period =
φ × 262144 (1024
times IHG signal)
TOCR in FRT 6 OCRAMS 1 OCRA is set to the operating mode in
which OCRAR and OCRAF are used