Fujitsu MB96300 series Hardware Manual page 663

F2mc-16fx 16-bit
Hide thumbs Also See for MB96300 series:
Table of Contents

Advertisement

MB96300 Super Series Hardware Manual
used to read time (HH/MM/SS).
• In order for the Real Time Clock module to function properly, the frequency of the subclock (CLKSC) or
the RC-clock (CLKRC) must be much lower than that of the peripheral clock (CLKP1). If not, correct
values cannot be read from WTHR/WTMR/WTSR.
• Note that only byte-access is allowed to these register. So, when these registers are read at the very timing
of changing over the hour or minute boundary as shown below, there is a possibility of misjudging the
time. So, read several times to get a logically consistent value.
Example: Read begins at the second register: 02:59:59=> 03:59:59 => 03:00:00
In this case, the current time should be interpreted as 3 o'clock.
Read begins at the hour register: 02:59:59 => 02:00:00 => 03:00:00
CHAPTER 24 REAL TIME CLOCK
655

Advertisement

Table of Contents
loading

Table of Contents