RX - 4045 SA / NB
Page - 10
MQ442-01
8.2.5. Clock precision adjustment register (Reg 7)
Address
Function
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
7
Digital Offset
0
F6
F5
F4
F3
F2
F1
F0
(Default)
(0)
The binary encoded settings in the seven bits from F6 to F0 are used to set the precision of the clock generated
from the 32768-Hz internal oscillator up to
±189 × 106 in the forward (ahead) or reverse (behind) direction, in
units of
± 3.05 × 106. (Only the clock precision can be adjusted. The 32.768-kHz output from the FOUT pin is
not affected.)
When not using this function, be sure to set "0" for bits F6 to F0.
For details, see "8.3. Clock Precision Adjustment Function".
8.2.6. Alarm_W register (Reg 8 to A)
Address
Function
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
8
Alarm_W ; Minute
!
WM40
WM20
WM10
WM8
WM4
WM2
WM1
9
Alarm_W ; Hour
!
WH20
WP , /A
WH10
WH8
WH4
WH2
WH1
A
Alarm_W ; Day
!
WW6
WW5
WW4
WW3
WW2
WW1
WW0
The Alarm W function is used, along with the WALE and WAFG bits, to set alarms for specified day, hour, and
minute values.
When the Alarm_W setting matches the current time, /INT pin is set to "L" and the WALE bit is set to "1".
Note: If the current date/time is used as the Alarm_W setting, the alarm will not occur until the counter counts up
to the current date/time (i.e., an alarm will occur next time, not immediately).
During 24-hour clock operation, the "Alarm_W ; Hours" register's bit 5 (WH20, WP, /A) functions as WH20
(two-digit hour display), and during 12-hour clock operation it functions as an AM/PM indicator.
When the Alarm_W function's day values (WW6 to WW0) are all "0" Alarm W does not occur.
For details, see "8.5. Alarm W Function".
8.2.7. Alarm_ D register (Reg B and C)
Address
Function
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
B
Alarm_D ; Minute
!
DM40
DM20
DM10
DM8
DM4
DM2
DM1
C
Alarm_D ; Hour
!
DH20
DP , /A
DH10
DH8
DH4
DH2
DH1
The Alarm D function is used, along with the DALE and DAFG bits, to set alarms for specified hour and minute
values.
When the Alarm_D setting matches the current time, /INT pin is set to "L" and the DALE bit is set to "1".
Note: If the current time is used as the Alarm_D setting, the alarm will not occur until the counter counts up to the
current time (i.e., an alarm will occur next time, not immediately).
During 24-hour clock operation, the "Alarm_D ; Hours" register's bit 5 (DH20, DP, /A) functions as DH20 (two-digit
hour display), and during 12-hour clock operation it functions as an AM/PM indicator.
For details, see "8.6. Alarm D Function".