Datasheet

Table Of Contents
Section 11 8-Bit Timers (TMR)
REJ09B0140-0900 Rev. 9.00 Page 355 of 846
Sep 16, 2010
H8S/2215 Group
Bit Bit Name Initial Value R/W Description
7 CMFB 0 R/(W)
*
Compare Match Flag B
[Setting condition]
Set when TCNT matches TCORB
[Clearing conditions]
Cleared by reading CMFB when CMFB = 1, then
writing 0 to CMFB
When DTC is activated by CMIB interrupt, while
DISEL bit is 0, and transfer counter value is not 0
6 CMFA 0 R/(W)
*
Compare Match Flag A
[Setting condition]
Set when TCNT matches TCORA
[Clearing conditions]
Cleared by reading CMFA when CMFA = 1, then
writing 0 to CMFA
When DTC is activated by CMIA interrupt, while
DISEL bit is 0, and transfer counter value is not 0
5 OVF 0 R/(W)
*
Timer Overflow Flag
[Setting condition]
Set when TCNT overflows from H'FF to H'00
[Clearing condition]
Cleared by reading OVF when OVF = 1, then
writing 0 to OVF
4 ADTE 0 R/W A/D Trigger Enable (only in channel 0)
Selects enabling or disabling of A/D converter start
requests by compare match A.
This bit is reserved in channel 1. Always read as 1, and
cannot be modified.
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 and 2
These bits select a method of TMO pin output when
compare match B of TCOR and TCNT occurs.
00: No change when compare match B occurs
01: 0 is output when compare match B occurs
10: 1 is output when compare match B occurs
11: Output is inverted when compare match B occurs
(toggle output)