NO:
W90P710 Programming Guide
VERSION:
2.0
PAGE:
187
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
15.5.2
Set Calendar and Time Alarm
1.
Set and prepare the ISR of RTC alarm
2.
Set time and calendar same as above step 1-8
3.
Set alarm year, month and day to register
CAR
4.
Set alarm hour, minute and second to register
TLR
5.
Set the bit 0 of
RIER
for alarm interrupt enable
6.
Write 0x0 to
AER
means disable RTC access enable/disable password