
RX - 4045 SA / NB
Page - 11
MQ442-01
8.2.8. Control register 1 (Reg E)
Address
Function
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
E
Control 1
WALE
DALE
/12 , 24
/CLEN2
TEST
CT2
CT1
CT0
(Default)
(0)
) The default value is the value that is read (or is set internally) after the PON bit has been set to "1," such as after powering up from 0 V or
recovering from a supply voltage drop.
1) WALE bit
This bit is used to set up the Alarm W function (to generate alarms matching day, hour, or minute settings).
WALE
Data
Description
0
Alarm_W, match comparison operation invalid
Default
Write / Read
1
Alarm_W, match comparison operation valid (/INT = "L" when
match occurs)
For details, see "8.5. Alarm W Function".
2) DALE bit
This bit is used to set up the Alarm D function (to generate alarms matching hour or minute settings).
DALE
Data
Description
0
Alarm_D, match comparison operation invalid
Default
Write / Read
1
Alarm_D, match comparison operation valid (/INT = "L" when
match occurs)
For details, see "8.6. Alarm D Function".
3) /12,24 bit
This bit is used to select between 12-hour clock operation and 24-hour clock operation.
/12,24
Data
Description
0
12-hour clock
Default
Write / Read
1
24-hour clock
Be sure to select between 12-hour and 24-hour clock operation before writing the time data.
See also "3) Hour counter" in section 8.2.4.
4) /CLEN2 bit
It combines /CLEN1 bit, and is bit controlling FOUT output.
When /CLEN1 and /CLEN2 bit become 1, FOUT output stops.
When PON bit became 1 because power-on reset function worked, /CLEN1 and /CLEN2 bit become 0.
5) TEST bit
This bit is used by the manufacturer for testing. Be sure to write "0" to this bit.
Be careful to avoid writing a "1" to this bit when writing to other bits.
TEST
Data
Description
0
Normal operation mode
Default
Write / Read
1
Setting prohibited (manufacturer's test mode)
6) CT2, CT1, and CT0 bits
These bits are used to set up the operation of the periodic interrupt function that uses the /INT pin.
/INT pin's output setting
CT2
CT1
CT0
Waveform mode
Cycle/Fall timing
0
/INT = Hi-Z (= OFF)
Default
0
1
/INT = Fixed low
0
1
0
Pulse mode 1)
2 Hz
(50% duty)
0
1
Pulse mode 1)
1 Hz
(50% duty)
1
0
Level mode 2)
Once per second
(Synchronous with per-second
count-up)
1
0
1
Level mode 2)
Once per minute
(Occurs when seconds reach ":00")
1
0
Level mode 2)
Once per hour
(Occurs when minutes and seconds
reach "00:00")
1
Level mode 2)
Once per month
(Occurs at 00:00:00 on first day of
month)
For details, see "8.4. Periodic Interrupt".