Rev. 1.00, 09/03, page 277 of 704
11.3.5
Timer Control/Status Register (TCSR)
TCSR indicates the status flags and controls compare-match output.
•
TCSR0
Bit
Bit Name Initial Value R/W
Description
7 CMFB
0
R/(W)
*
1
Compare-Match Flag B
[Setting condition]
When the values of TCNT0 and TCORB0 match
[Clearing condition]
Read CMFB when CMFB = 1, then write 0 to CMFB
6 CMFA
0
R/(W)
*
1
Compare-Match Flag A
[Setting condition]
When the values of TCNT0 and TCORA0 match
[Clearing condition]
Read CMFA when CMFA = 1, then write 0 to CMFA
5 OVF 0
R/(W)
*
1
Timer Overflow Flag
[Setting condition]
When TCNT0 overflows from H'FF to H'00
[Clearing condition]
Read OVF when OVF = 1, then write 0 to OVF
4
ADTE
0
R/W
A/D Trigger Enable
*
2
Enables or disables A/D conversion start requests by
compare-match A.
0: A/D converter start requests by compare-match A
are disabled
1: A/D converter start requests by compare-match A
are enabled
3
2
OS3
OS2
0
0
R/W
R/W
Output Select 3, 2
Specify how the TMO0 pin output level is to be
changed by compare-match B of TCORB0 and TCNT0.
00: No change
01: 0 is output
10: 1 is output
11: Output is inverted (toggle output)
Summary of Contents for H8S/2437
Page 2: ...Rev 1 00 09 03 page ii of xxxviii ...
Page 8: ...Rev 1 00 09 03 page viii of xxxviii ...
Page 32: ...Rev 1 00 09 03 page xxxii of xxxviii ...
Page 38: ...Rev 1 00 09 03 page xxxviii of xxxviii ...
Page 168: ...Rev 1 00 09 03 page 130 of 704 ...
Page 336: ...Rev 1 00 09 03 page 298 of 704 ...
Page 402: ...Rev 1 00 09 03 page 364 of 704 ...
Page 454: ...Rev 1 00 09 03 page 416 of 704 ...
Page 512: ...Rev 1 00 09 03 page 474 of 704 ...
Page 562: ...Rev 1 00 09 03 page 524 of 704 ...
Page 648: ...Rev 1 00 09 03 page 610 of 704 ...
Page 672: ...Rev 1 00 09 03 page 634 of 704 ...
Page 732: ...Rev 1 00 09 03 page 694 of 704 ...
Page 742: ...Rev 1 00 09 03 page 704 of 704 ...
Page 745: ......
Page 746: ...H8S 2437 Group Hardware Manual REJ09B0059 0100Z ...