AnsweredAssumed Answered

cubemx bug report

Question asked by zwh.harryzwh on Aug 8, 2016
Latest reply on Aug 19, 2016 by ForumSTM32.ForumSTM3

I am using cubemx to config RTC of stm32L0. For the alarm mask configuration, if I select "Alarm Mask Minutes", in the generated code, only RTC_ALARMMASK_MINUTES is set. However, generally, if MINUTES is masked, time unit that larger than minutes (i.e. hours, date) should automatically be masked. In cubemx, there is no way to configure the AlarmMask like sAlarm.AlarmMask = RTC_ALARMMASK_DATEWEEKDAY|RTC_ALARMMASK_HOURS|RTC_ALARMMASK_MINUTES;

Could you correct me if I used cubemx in a wrong way.