Table 13.10 Examples Of Ocrar, Ocraf, Tocr, Tcora, Tcorb, Tcr, And Tcsr Settings - Renesas H8S/2437 Hardware Manual

Renesas 16-bit single-chip microcomputer h8s family / h8s / 2600 series
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

Table of Contents