2025-01-14 06:43 AM
Follow on from:
To be able to configure the RTC Alarm in CubeMX, you have to enable it in CubeMX.
This means that all the configuration - of both the RTC itself, and the alarm - will be done in the MX_RTC_Init function - whereas I'd have thought it more likely that you'd want to configure and start the RTC itself separately from setting an alarm?
ie, you configure & start the RTC at startup, but you don't set the Alarm until some time later - when it's needed.
Is there a way to do that in CubeMX ?
(I'm using F0, but this seems to be general Cube MX behaviour - not specific to any series)