Fujitsu FR81S User Manual

Page of 2342
CHAPTER 28: REAL-TIME CLOCK(RTC) 
 
 
7. Q&A 
 
FUJITSU SEMICONDUCTOR LIMITED 
CHAPTER
 : REAL-TIME CLOCK(RTC) 
FUJITSU SEMICONDUCTOR CONFIDENTIAL 
24 
7.6.  How to Know the Number of Days and Time? 
This section explains how to know the number of days and time. 
They can be known by reading Day/ Hour/ Minute/ Second registers: WTDR, WTHR, WTMR, WTSR. 
However, as word access is not available, access to the respective registers is required. As the time may be 
misread when the value is read in the boundary of the hour/minute count, perform multiple reads and use the 
logically correct time. 
Example: 
When read from second:   
1 day 2 hours 59 minutes 59 seconds => 1 day 3 hours 59 minutes 59 seconds => 1 day 3 hours 0 
minute 0 second 
 
When read from hour:   
1 day 2 hours 59 minutes 59 seconds => 1 day 2 hours 0 minute 0 second => 1 day 3 hours 0 minute 0 
second 
MB91520 Series
MN705-00010-1v0-E
1063