![](http://datasheet.mmic.net.cn/330000/RS5C372B_datasheet_16451256/RS5C372B_16.png)
RS5C372B
- 16 -
2.7.2. Alarm_A,Alarm_B hour register (Alarm_A:Internal address at 9h, Alarm_B: Internal address at Ch)
D7
D6
D5
D4
D3
D2
D1
D0
-
-
AH20(*1)
AP
/A
AH20
AP
/A
unde-
fined
AH10
AH8
AH4
AH2
AH1
(for write operation)
0
0
AH10
AH8
AH4
AH2
AH1
(for read operation)
0
0
unde-
fined
unde-
fined
unde-
fined
unde-
fined
unde-
fined
Default (*2)
*1) AXXX in this table is the name for Alarm_A function, for Alarm_B function it is BXXX.
*2) The default means read values when XSTP=“1” by after initial power-on or supply voltage drop,etc.
2.7.3. Alarm_A, Alarm_B day of the week register
(Alarm_A: internal address at Ah, Alarm_B: internal address at Dh)
D7
D6
D5
D4
D3
D2
D1
D0
-
AW6(*1)
AW5
AW4
AW3
AW2
AW1
AW0
(for write operation)
0
0
AW6
unde-
fined
AW5
unde-
fined
AW4
unde-
fined
AW3
unde-
fined
AW2
unde-
fined
AW1
unde-
fined
AW0
unde-
fined
(for read operation)
Default(*2)
*1) AXXX in this table is the name for Alarm_A function, for Alarm_B function it is BXXX.
*2) The default means read values when XSTP=“1” by after initial power-on or supply voltage drop,etc.
Alarm_A, Alarm_B hour register D5 is set to 0 for AM and 1 for PM in the 12-hour display system
at AP/A. The register D5 indicates 10 digit of hour digit in 24-hour display system at AH20.
To activate alarm operation, any imaginary alarm time setting should not be left to avoid unmatching.
In hour digit display midnight is set to 12, noon is set to 32 in 12-hour display system.
(See section 2.2.1.)
AW0 to AW6 correspond to the day-of-the-week counter (W4, W2, W1) being set at (0, 0, 0) to (1, 1, 0).
No alarm pulses are output when all of AW0 to AW6 are set to "0".
Example of Alarm Time settings
Alarm Time Settings
Day-of-the-week
12-hour system
24-hour system
Sun
Mon.
Tues.
Wed.
Th.
Fri.
Sat.
10-
hour
1-
hour
10-
min.
1-
min.
10-
hour
1-
hour
10-
min.
1-
min.
AW0 AW1
AW2
AW3 AW4 AW5 AW6
00:00 AM every day
1
1
1
1
1
1
1
1
2
0
0
0
0
0
0
01:30 AM every day
1
1
1
1
1
1
1
0
1
3
0
0
1
3
0
11:59 AM every day
1
1
1
1
1
1
1
1
1
5
9
1
1
5
9
00:00 PM on Monday
through Friday
0
1
1
1
1
1
0
3
2
0
0
1
2
0
0
01:30 PM on Sunday
1
0
0
0
0
0
0
2
1
3
0
1
3
3
0
11:59 PM on Mon.,
Wed., and Fri.
Designation of days of the week and AW0 through AW6 in the above table is an example.
0
1
0
1
0
1
0
3
1
5
9
2
3
5
9