Atmel AT91M55800A Answering Machine User Manual


 
77
1745D–ATARM–04-Nov-05
AT91M55800A
13.3.1 RTC Mode Register
Register Name:RTC_MR
Access: Read/Write
Offset: 0x00
UPDTIM: Update Request Time Register (Code Label RTC_UPDTIM)
0 = Enables the RTC time counting.
1 = Stops the RTC time counting.
Time counting consists of second, minute and hour counters. Time counters can be programmed once this bit is set.
UPDCAL: Update Request Calendar Register (Code Label RTC_UPDCAL)
0 = Disables the RTC calendar counting.
1 = Stops the RTC calendar counting.
Calendar counting consists of day, date, month, year and century counters. Calendar counters can be programmed once
this bit is set.
TEVSEL: Time Event Selection
The event which generates the flag TIMEV in RTC_SR (Status Register) depends on the value of TEVSEL.
CEVSEL: Calendar Event Selection
The event which generates the flag CALEV in RTC_SR depends on the value of CEVSEL.
31 30 29 28 27 26 25 24
––––––––
23 22 21 20 19 18 17 16
––––––
CEVSEL
15 14 13 12 11 10 9 8
––––––
TEVSEL
76543210
––––––
UPDCAL UPDTIM
TEVSEL Event Code Label
0 0 Minute change RTC_TEVSEL_MN_CHG
0 1 Hour change RTC_TEVSEL_HR_CHG
1 0 Every day at midnight RTC_TEVSEL_EVDAY_MD
1 1 Every day at noon RTC_TEVSEL_EVDAY_NOON
CEVSEL Event Code Label
0 0 Week change
(every Monday at time 00:00:00) RTC_CEVSEL_WEEK_CHG
0 1 Month change
(every 01 of each month at time 00:00:00) RTC_CEVSEL_MONTH_CHG
1 0 Year change
(every January 1st at time 00:00:00) RTC_CEVSEL_YEAR_CHG
1 1 Reserved