Datasheet
Section 17 Timer RE
REJ09B0465-0300 Rev. 3.00 Page 609 of 982
Sep 17, 2010
H8S/20103, H8S/20203, H8S/20223, H8S/20115, H8S/20215, H8S/20235 Group
17.2.2 Timer RE Minute Data Register/Compare Data Register (TREMIN)
Address:
Bit:
Value after reset:
b7
BSY
⎯
b6
MN12
⎯
b5
MN11
⎯
b4
MN10
⎯
b3
MN03
⎯
b2
MN02
⎯
b1
MN01
⎯
b0
MN00
⎯
H'FFFFA9
• Realtime clock mode
Bit Symbol Bit Name Description R/W
7 BSY Timer RE busy This bit is set to 1 when the timer RE is updating (calculating)
the values of second, minute, hour, and day-of-week data
registers. When this bit is 0, the values of second, minute,
hour, and day-of-week data registers must be adopted.
R
6 MN12 R/W
5 MN11 R/W
4 MN10
Counting ten's
position of
minutes
Counts on 0 to 5 for 60-minute counting.
R/W
3 MN03 R/W
2 MN02 R/W
1 MN01 R/W
0 MN00
Counting one's
position of
minutes
Counts on 0 to 9 once per minute. When a carry is
generated, 1 is added to the ten's position.
R/W
• Output-compare mode
Bit Symbol Bit Name Description R/W
7 BSY R
6 MN12 R/W
5 MN11 R/W
4 MN10 R/W
3 MN03 R/W
2 MN02 R/W
1 MN01 R/W
0 MN00
⎯ Used as an 8-bit register for storing the compare data.
The setting range is H'01 to H'FF.
This register can be written to only when counting is
stopped (when TSTART and TCSTF in TRECR1 are 0).
R/W
TREMIN counts the BCD-coded minute value on the carry generated once per minute by the
TRESEC counting in realtime clock mode. TREMIN is incremented from decimal 00 to 59.
TREMIN is used as an 8-bit register for storing the compare data in output-compare mode.