BAT32G1x9 user manual | Chapter 10 Timer M
338 / 1149
Rev.1.02
10.3.14
Timer M status register 0 (TMSR0).
Figure 10-24 Format of timer M status register 0 (TMSR0) [Input Capture Function].
Address: 0x40042A73
after reset:
00H
R/W
symbol
TMSR0
OVF
Overflow flag
note
1
[condition for
"0"].
After reading write "0"
Note
2
.
[condition for
"1"].
When an
overflow occurs in TM0
IMFD
Enter the capture/compare match flag
D
Note
5
[condition for
"0"].
After reading write "0"
Note
2
.
[condition for
"1"].
The input edge of the
TMIOD0 pin
is note
3
IMFC
Enter the capture/compare match flag
C
Note
5
[condition for
"0"].
After reading write "0"
Note
2
.
[condition for
"1"].
The input edge of the
TMIOC0 pin
is note
3
IMFB
Enter the capture/compare match flag
B
Note
5
[condition for
"0"].
After reading write "0"
Note
2
.
[condition for
"1"].
Note
4
on the input edge of the TMIOB0 pin
IMFA
Enter the capture/compare match flag
A
note
5
[condition for
"0"].
After reading write "0"
Note
2
.
[condition for
"1"].
The input edge of the TMIOA0 pin
is note
4
Note
1
When the
count value of
timer M0
changes from
"FFFFH"
to
"0000H", the overflow flag changes to
"1". In
addition, according to the
setting of
the CCLR0~CCLR2
bit
of the
TMCR0
register
, if the input capture or
comparison match occurs during operation, the count value of timer M0
is changed from
" FFFFH"
becomes
"0000H"
and the overflow sign becomes
"1".
7
6
5
4
3
2 1
0
0
0
0
AVF
IMFD
IMFC
IMFB
IMFA