![](http://datasheet.mmic.net.cn/330000/RS5C372B_datasheet_16451256/RS5C372B_13.png)
RS5C372B
- 13 -
2.2.5. CTFG
Periodic Interrupt Flag Bit
CTFG
0
1
Description
Periodic interrupt output = OFF (H)
Periodic interrupt output = ON (L)
(Default)
This bit is set to “1” when periodic interrupt pulses are output (/INTR=L).
The CTFG bit may be set only to “0” in the interrupt level mode. Setting this bit to “0” sets the /INTR pin
to OFF (H). When this bit is set to “1”, nothing happens.
2.2.6. AAFG,BAFG
Alarm_A (Alarm_B) Flag bit
AAFG,BAFG
0
1
The alarm interruption is enabled only when the AALE, BALE bits are set to “1”. This bit turns to “1”
when matched time is sensed for each alarm.
The AAFG, BAFG bit may be set only to “0”. Setting this bit to “0” sets the /INTR to the OFF(H).
When this bit is set to “1” nothing happens.
When the AALE, BALE bit is set to “0”, alarm operation is disabled and “0” is read from the AAFG,
BAFG bit.
Description
Unmatched alarm register with clock counter
Matched alarm register with clock counter
(Default)
/INTR pin
Setting of AAFG
(BAFG) bit to 0
AAFG(BAFG) bit
(Matched alarm time)
Setting of AAFG
(BAFG) bit to 0
(Matched alarm time)
(Matched alarm time)
2.3. Clock Counter (Internal address at 0-2h)
2.3.1. Second Digit Register (Internal address at 0h)
D7
D6
D5
D4
D3
D2
D1
D0
-
S40
S20
S10
S8
S4
S2
S1
(for write operation)
0
0
S40
unde-
fined
S20
unde-
fined
S10
unde-
fined
S8
S4
S2
S1
(for read operation)
unde-
fined
unde-
fined
unde-
fined
unde-
fined
Default(*)
2.3.2. Minute Digit Register (Internal address at 1h)
D7
D6
D5
D4
D3
D2
D1
D0
-
M40
M20
M10
M8
M4
M2
M1
(for write operation)
0
0
M40
unde-
fined
M20
unde-
fined
M10
unde-
fined
M8
unde-
fined
M4
unde-
fined
M2
unde-
fined
M1
unde-
fined
(for read operation)
Default(*)
2.3.3. Hour Digit Register (Internal address at 2h)
D7
D6
P
/AorH20
0
0
P
/AorH20
0
0
-fined
*)The default means read values when XSTP=”1” by after initial power-on or supply voltage drop,etc.
Time digit display (in BCD code)
Second digits: Range from 00 to 59 and carried to minute digits when incremented from 59 to 00.
D5
D4
D3
D2
D1
D0
-
-
H10
H8
H4
H2
H1
(for write operation)
H10
unde-
fined
H8
H4
H2
H1
(for read operation)
unde
unde-
fined
unde-
fined
unde-
fined
unde-
fined
Default(*)