Fujitsu FR81S ユーザーズマニュアル
CHAPTER 28: REAL-TIME CLOCK(RTC)
6. Setting
FUJITSU SEMICONDUCTOR LIMITED
CHAPTER
: REAL-TIME CLOCK(RTC)
FUJITSU SEMICONDUCTOR CONFIDENTIAL
17
6. Setting
This section explains setting of the real-time clock (RTC).
Table 6-1 Settings Required for Starting the Real-time Clock
Settings
Setting Registers
Setting
procedure
Setting of the reload value (sub-second register)
Sub-second register
(WTBRH, WTBRM, WTBRL)
See 7.1.
Initialization of the real-time clock
RTC Control Register (WTCR)
See 7.2
Setting of number of days, time
(Day/Hour/Minute/Second)
Day/ Hour/ Minute/ Second registers
(WTDR,WTHR, WTMR, WTSR)
See 7.3.
Startup of the real-time clock
RTC Control Register (WTCR)
See 7.4.
Table 6-2 Settings Required for Knowing the Time
Settings
Setting Registers
Setting
procedure
Reading of number of days and time
Day/ Hour/ Minute/ Second registers
(WTDR,WTHR, WTMR, WTSR)
See 7.6.
Table 6-3 Settings Required for Stopping the Real-time Clock
Settings
Setting Registers
Setting
procedure
Stop of the real-time clock
RTC Control Register (WTCR)
See 7.7.
Table 6-4 Settings Required for Performing Real-time Clock Interrupts
Settings
Setting Registers
Setting
procedure
Setting of the RTC interrupt vector and the RTC
interrupt level
See "CHAPTER: INTERRUPT CONTROL
(INTERRUPT CONTROLLER)".
See 7.10.
RTC interrupt setting
Interrupt request clear
Interrupt request enable
RTC Control Register (WTCR)
See 7.11.
MB91520 Series
MN705-00010-1v0-E
1056