Question
Why setting up RTC WKUP interrupt will generate HAL_RTCEx_SetWakeUpTimer_IT in init?
I want to enable RTC WKUP interrupt, so that I can use it later to wake the device up from sleep modes.
Nevertheless, CubeMX will also add HAL_RTCEx_SetWakeUpTimer_IT in init. I don't want to launch the timer in init! I only want to set it up for later use (setup interrupt handlers, NVIC enable).
- Is this call 100% necessary? Why CubeMX generates it in init?
- What does it mean if WakeUpCounter parameter to this call is 0?
