Day Alarm Register (Rdayar) - Hitachi SH7750 Hardware Manual

Sh7750 series superh risc engine
Hide thumbs Also See for SH7750:
Table of Contents

Advertisement

Bit:
Initial value:
R/W:
Day-of-week code
Day of week

11.2.13 Day Alarm Register (RDAYAR)

RDAYAR is an 8-bit readable/writable register used as an alarm register for the RTC's BCD-
coded day value counter, RDAYCNT. When the ENB bit is set to 1, the RDAYAR value is
compared with the RDAYCNT 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 01 to 31 + ENB bit. The RTC will not operate normally if any other
value is set. The setting range for RDAYAR depends on the month and whether the year is a leap
year, so care is required when making the setting.
The ENB bit in RDAYAR is initialized by a power-on reset. The other fields in RDAYAR are not
initialized by a power-on or manual reset, or in standby mode.
Bit 6 is always read as 0. A write to this bit is invalid, but the write value should always be 0.
Bit:
Initial value:
R/W:
Rev. 6.0, 07/02, page 278 of 986
7
6
ENB
0
0
R/W
R
0
1
Sun
Mon
7
6
ENB
10-day units
0
0
Undefined Undefined Undefined Undefined Undefined Undefined
R/W
R
R/W
5
4
3
0
0
0
R
R
R
2
3
Tue
Wed
5
4
3
R/W
R/W
2
1
Day of week code
Undefined Undefined Undefined
R/W
R/W
4
5
Thu
Fri
2
1
1-day units
R/W
R/W
0
R/W
6
Sat
0
R/W

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sh7750rSh7750s

Table of Contents