2013-09-08 11:33 PM
Hi,
how can I set loop RTC alarm?Now
I do it
like this
: I setup RTC_AlarmStructure for ''first'' alarm (for example 01:00:00)RTC_AlarmStructure.RTC_AlarmTime.RTC_H12 = RTC_HourFormat_24; RTC_AlarmStructure.RTC_AlarmTime.RTC_Hours = 0; RTC_AlarmStructure.RTC_AlarmTime.RTC_Minutes = 1; RTC_AlarmStructure.RTC_AlarmTime.RTC_Seconds = 0; RTC_AlarmStructure.RTC_AlarmDateWeekDay = 0x31; RTC_AlarmStructure.RTC_AlarmDateWeekDaySel = RTC_AlarmDateWeekDaySel_Date; RTC_AlarmStructure.RTC_AlarmMask = RTC_AlarmMask_DateWeekDay;
RTC_SetAlarm(RTC_Format_BIN, RTC_Alarm_A, &RTC_AlarmStructure);And then I set in
RTC_IRQHandler new alarm (edit RTC_AlarmStructure)...
It is possible setup loop alarmthrough
AlarmMask? Thank you for answer, MG #f0-rtc-alarm