NO:
W90P710 Programming Guide
VERSION:
2.0
PAGE:
188
The above information is the exclusive intellectual property of Winbond Electronics and shall not be disclosed, distributed or reproduced without permission
from Winbond.
Table No.: 2005-W90P710-11-A
Figure 15-3 RTC Set Calendar and Time Alarm flow chart
RTC
start
INitialize RTC
(
INIR
)
Initilaize copleted
(bit 0 of INIR be high?)
Enable
register
R/W (AER)
Enable register R/W
completed
(bit 16 of AER behigh?)
Y
E
S
N
O
N
O
Y
E
S
Set time scale
(TSSR)
Set time, day and
calendar
(TLR, DWR and
CLR)
Disable RTC
register R/W
(AER)
end
Set alarm time
and calendar
(TAR, CAR)
Set alarm
interrupt enable
(RIER)