BAT32G1x9 user manual | Chapter 10 Timer M
318 / 1149
Rev.1.02
10.3.3
Timer M Start Register (TMSTR).
The TMSTR register can be set via an 8-bit memory operation instruction. Please refer to "10.7.1(1)
TMSTR Registers" for Precautions When Using Timer M.
Figure 10-4
Format of the Start Register (TMSTR) for timer M
Address: 0x40042A63
reset:
0CH R/W
symbol
TMSTR
CSEL1
TM1 counts execution selection
note
1
0
Stop counting when matching TMGRA1
register comparison.
1
The count continues after matching with
the TMGRA1 register comparison
note
2
.
CSEL0
TM0 counts execution selection
0
Stops counting when matching TMGRA0
register comparison.
1
Continue counting
note
2
after matching with the TMGRA0 register comparison.
TSTART1
The start flags for the
TM1 count
note 3,
4
0
Stop count.
1
Start counting.
TSTART0
The start flags of the
TM0 count
note
5,
6
0
Stop count.
1
Start counting.
Note
1
PWM3
mode
cannot be used.
2. When using the input capture feature, this position must be
"1".
3.
When
the CSEL1
bit is
"1", the
TSTART1
bit must be
written
"0".
4.
When
the CSEL1
bit is
"0"
and produces a comparison match signal (TMIOA1), this flag is
"0"
(stop count).
5.
When the
CSEL0
bit is
"1", you must
write "0" to
the TSTART0
bit.
6.
When
the CSEL0
bit is
"0"
and a comparison match signal (TMIOA0) is generated, this flag is
"0"
(stop count).
7
6
5
4
3
21
0
0
0
0
0
CSEL1
CSEL0
TSTART1
TSTART0