Second Alarm Register (Rsecar); Minute Alarm Register (Rminar) - Hitachi SH7751 Hardware Manual

Superh risc engine
Table of Contents

Advertisement

11.2.9

Second Alarm Register (RSECAR)

RSECAR is an 8-bit readable/writable register used as an alarm register for the RTC's BCD-coded
second value counter, RSECCNT. When the ENB bit is set to 1, the RSECAR value is compared
with the RSECCNT value. Comparison between the counter and the alarm register is performed
for those registers among RSECAR, RMINAR, RHRAR, RWKAR, RDAYAR, and RMONAR in
which the ENB bit is set to 1, and the RCR1 alarm flag is set when the respective values all match.
The setting range is decimal 00 to 59 + ENB bit. The RTC will not operate normally if any other
value is set.
The ENB bit in RSECAR is initialized to 0 by a power-on reset. The other fields in RSECAR are
not initialized by a power-on or manual reset, or in standby mode.
Bit:
7
ENB
Initial value:
0
R/W:
R/W

11.2.10 Minute Alarm Register (RMINAR)

RMINAR is an 8-bit readable/writable register used as an alarm register for the RTC's BCD-
coded minute value counter, RMINCNT. When the ENB bit is set to 1, the RMINAR value is
compared with the RMINCNT value. Comparison between the counter and the alarm register is
performed for those registers among RSECAR, RMINAR, RHRAR, RWKAR, RDAYAR, and
RMONAR in which the ENB bit is set to 1, and the RCR1 alarm flag is set when the respective
values all match.
The setting range is decimal 00 to 59 + ENB bit. The RTC will not operate normally if any other
value is set.
The ENB bit in RMINAR is initialized by a power-on reset. The other fields in RMINAR are not
initialized by a power-on or manual reset, or in standby mode.
Bit:
7
ENB
Initial value:
0
R/W:
R/W
Rev. 3.0, 04/02, page 272 of 1064
6
5
10-second units
Undefined Undefined Undefined Undefined Undefined Undefined Undefined
R/W
R/W
6
5
10-minute units
Undefined Undefined Undefined Undefined Undefined Undefined Undefined
R/W
R/W
4
3
1-second units
R/W
R/W
R/W
4
3
R/W
R/W
2
1
0
R/W
R/W
2
1
1-minute units
R/W
R/W
0
R/W

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sh7751r

Table of Contents