Section 9 Multi-Function Timer Pulse Unit 2 (MTU2)
Rev. 3.00 Sep. 27, 2007 Page 198 of 758
REJ09B0243-0300
•
TSR2_0
Bit:
Initial value:
R/W:
7
6
5
4
3
2
1
0
1
1
0
0
0
0
0
0
R
R
R
R
R
R
R/(W)
*
1
R/(W)
*
1
Note:
Writing 0 to this bit after reading it as 1 clears the flag and is the only allowed way.
1.
-
-
-
-
-
-
TGFF
TGFE
Bit Bit
Name
Initial
Value
R/W Description
7, 6
—
All 1
R
Reserved
These bits are always read as 1. The write value
should always be 1.
5 to 2
—
All 0
R
Reserved
These bits are always read as 0. The write value
should always be 0.
1 TGFF 0 R/(W)
*
1
Compare Match Flag F
Status flag that indicates the occurrence of compare
match between TCNT_0 and TGRF_0.
[Setting condition]
•
When TCNT_0 = TGRF_0 and TGRF_0 is
functioning as compare register
[Clearing condition]
•
When 0 is written to TGFF after reading TGFF =
1
*
2
0 TGFE 0 R/(W)
*
1
Compare Match Flag E
Status flag that indicates the occurrence of compare
match between TCNT_0 and TGRE_0.
[Setting condition]
•
When TCNT_0 = TGRE_0 and TGRE_0 is
functioning as compare register
[Clearing condition]
•
When 0 is written to TGFE after reading TGFE =
1
*
2
Notes: 1. Writing 0 to this bit after reading it as 1 clears the flag and is the only allowed way.
2. If another flag setting condition occurs before writing 0 to the bit after reading it as 1, the
flag will not be cleared by writing 0 to it once. In this case, read the bit as 1 again and
write 0 to it.
Summary of Contents for SH7124 R5F7124
Page 2: ...Rev 3 00 Sep 27 2007 Page ii of xx ...
Page 8: ...Rev 3 00 Sep 27 2007 Page viii of xx ...
Page 36: ...Section 1 Overview Rev 3 00 Sep 27 2007 Page 16 of 758 REJ09B0243 0300 ...
Page 68: ...Section 2 CPU Rev 3 00 Sep 27 2007 Page 48 of 758 REJ09B0243 0300 ...
Page 108: ...Section 5 Exception Handling Rev 3 00 Sep 27 2007 Page 88 of 758 REJ09B0243 0300 ...
Page 166: ...Section 7 User Break Controller UBC Rev 3 00 Sep 27 2007 Page 146 of 758 REJ09B0243 0300 ...
Page 724: ...Section 20 List of Registers Rev 3 00 Sep 27 2007 Page 704 of 758 REJ09B0243 0300 ...
Page 772: ...Rev 3 00 Sep 27 2007 Page 752 of 758 REJ09B0243 0300 ...
Page 778: ...Rev 3 00 Sep 27 2007 Page 758 of 758 REJ09B0243 0300 ...
Page 781: ......