2020-12-06 10:53 AM
Hi,
I noticed that if I enable an alarm for the RTC using CubeMX 6.1.0 with date/weekday mask enabled, it results in this line being generated:
RTC_AlarmStruct.AlarmMask = RTC_ALARMMASK_DATEWEEKDAY
However, that flag is undefined. In my case, it should be:
RTC_AlarmStruct.AlarmMask = LL_RTC_ALMA_MASK_DATEWEEKDAY
(This is with L4_V1.16.0 and LL drivers, targeting an STM32L475, if that matters.)
Solved! Go to Solution.
2020-12-06 11:37 PM
Hi @a.gajdacs ,
Thanks for your feedback, you're right ! Issue will be fixed.
Khouloud
2020-12-06 04:49 PM
"RTC_ALARMMASK_DATEWEEKDAY" is defined in HAL drivers.
2020-12-06 05:05 PM
Good point! I forgot to mention that I'm using LL drivers.
2020-12-06 11:37 PM
Hi @a.gajdacs ,
Thanks for your feedback, you're right ! Issue will be fixed.
Khouloud