EasyManuals Logo

Epson RTC-72421 User Manual

Epson RTC-72421
29 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #16 background imageLoading...
Page #16 background image
Page-12
RTC-72421/72423
2. CD register (control register D)
(1) HOLD bit (D0)
Use the HOLD bit when accessing the S
1 and W registers. For details, see "Read/write of S1 to W registers" on page
18.
When the HOLD bit is 1, any incrementation in the count is held within the RTC. The held incrementation is
automatically compensated for when the HOLD bit becomes 0. (Second and subsequent incrementations are ignored.)
Therefore, if the HOLD bit is at 1 for two or more seconds in succession, the time will be slightly slow (delay). Make sure
that any access to the S
1 to W registers is completed within one second, then clear the HOLD bit to 0.
The status of the BUSY bit remains as set while the HOLD bit is at 1. If the HOLD bit is not cleared temporarily to 0, the
BUSY bit will not indicate any change within the RTC of the BUSY status. Therefore, when checking the status of the
BUSY bit, write 0 to the HOLD bit each time the BUSY bit is read, to update the status of the BUSY bit.
If the CS
1 pin goes low while the HOLD bit is 1, the HOLD bit is automatically cleared to 0.
There is no need to use the HOLD bit when accessing the control registers (C
D, CE, and CF).
(2) BUSY bit (D
1)
The BUSY bit indicates whether or not the digits from the seconds digit onward are being incremented, and is used
when accessing the S
1 to W registers. For details, see "Read/write of S1 to W registers" on page 18.
There is no need to check the BUSY bit when accessing the control registers (C
D, CE, and CF).
The status of the BUSY bit remains as set while the HOLD bit is at 1. If the HOLD bit is not cleared temporarily to 0, the
BUSY bit will not indicate any change within the RTC of the BUSY status. Therefore, when checking the status of the
BUSY bit, write 0 to the HOLD bit each time the BUSY bit is read, to update the status of the BUSY bit.
The BUSY bit is a read-only bit, so any attempt to write 1 or 0 to it is ignored.
(3) IRQ FLAG bit (D
2)
The IRQ FLAG bit is an internal status bit that corresponds to the status of the STD.P pin output, to indicate whether or
not an interrupt request has been issued to the CPU. When the STD.P pin output is low, the IRQ FLAG bit is 1; when
the STD.P pin output is open-circuit, the IRQ FLAG bit is 0.
When writing data to the CD register, keep the IRQ FLAG bit at 1, except when deliberately writing 0 to it. Writing 0 to
the IRQ FLAG bit cancels its status if it had become 1 at that instant or just before.
i. Interrupt processing (interrupt status monitor function)
Since the IRQ FLAG bit indicates that an interrupt request has been generated to the CPU, it is in synchronizations
with the status of the STD.P pin output. In other words, the status of the STD.P pin output can be monitored by
monitoring the IRQ FLAG bit.
In fixed-period pulse output mode, the relationship between the IRQ FLAG bit and the STD.P pin output is as
follows:
The timing of the IRQ FLAG bit and the STD.P pin output in fixed-period pulse output mode is as follows:
The output levels of the STD.P pin are low (down) and open circuit (up).
ii. STD.P pin output reset function
The STD.P pin output can be reset after an interrupt is generated by writing 0 to the IRQ FLAG bit.
The relationships of this operation are shown below. Note that writing 1 to this bit is possible, but it has no effect.
tuptuonipP.DTStibGALFQRI
woL1
)tuptuoniard-neporof(nepO0
tibYSUBtibYSUBehtfoecnacifingiSnoitidnoCskrameR
0delbanesseccA
1=DLOH
gnitnuoctonsiCTRehT
1delbasidsseccA 091(CTRehtnidetnemercnineebsahtnuocehT µ ).xams
11syawlasiYSUB0=DLOHdekcehcebtonnactnuocehT
tibDLOHtibDLOHnoitcnuF
0 .)dekcehcebtonnacsutatsYSUBeht(1syawlasitibYSUBehT
1 dnadaer,0sitibYSUBehtdna1sitibDLOHehtnehW.dekcehcebnacsutatsYSUBehT
.delbaneeraetirw

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Epson RTC-72421 and is the answer not in the manual?

Epson RTC-72421 Specifications

General IconGeneral
BrandEpson
ModelRTC-72421
CategoryControl Unit
LanguageEnglish

Related product manuals