Rev. 1.00, 09/03, page 394 of 704
Table 13.10 Examples of OCRAR, OCRAF, TOCR, TCORA, TCORB, TCR, and TCSR
Settings
Register Bit Abbreviation
Contents
Description
7 CMIEB
0
6 CMIEA
0
5 OVIE
0
Interrupts due to compare-match and
overflow are disabled
4, 3
CCLR1,
CCLR0
01
TCNT is cleared by compare-match A
TCR of TMRY
2 to 0
CKS2 to
CKS0
001
TCNT is incremented on internal clock:
φ
/4
TCSR of TMRY 3 to 0
OS3 to OS0
0110
0 output on compare-match B
1 output on compare-match A
TCORA of
TMRY
H'3F
(example)
IHG signal period =
φ
×
256
TCORB of
TMRY
H'03
(example)
1 interval of IHG signal =
φ
×
16
TCR of FRT
1, 0
CKS1, CKS0 01
FRC is incremented on internal clock:
φ
/8
OCRAR of FRT H'7FEF
(example)
0 interval of IVG signal =
φ
×
262016
OCRAF of FRT H'000F
(example)
1 interval of IVG signal =
φ
×
128
IVG signal period =
φ
×
262144 (1024 times IHG signal)
TOCR of FRT
6
OCRAMS
1
OCRA is set to the operating mode in
which OCRAR and OCRAF are used
Содержание H8S/2437
Страница 2: ...Rev 1 00 09 03 page ii of xxxviii ...
Страница 8: ...Rev 1 00 09 03 page viii of xxxviii ...
Страница 32: ...Rev 1 00 09 03 page xxxii of xxxviii ...
Страница 38: ...Rev 1 00 09 03 page xxxviii of xxxviii ...
Страница 168: ...Rev 1 00 09 03 page 130 of 704 ...
Страница 336: ...Rev 1 00 09 03 page 298 of 704 ...
Страница 402: ...Rev 1 00 09 03 page 364 of 704 ...
Страница 454: ...Rev 1 00 09 03 page 416 of 704 ...
Страница 512: ...Rev 1 00 09 03 page 474 of 704 ...
Страница 562: ...Rev 1 00 09 03 page 524 of 704 ...
Страница 648: ...Rev 1 00 09 03 page 610 of 704 ...
Страница 672: ...Rev 1 00 09 03 page 634 of 704 ...
Страница 732: ...Rev 1 00 09 03 page 694 of 704 ...
Страница 742: ...Rev 1 00 09 03 page 704 of 704 ...
Страница 745: ......
Страница 746: ...H8S 2437 Group Hardware Manual REJ09B0059 0100Z ...