1) Looks, like we also need RTC_SUPPORT_CALLBACKS flag for F4x platform. It would be useful when user does not need callbacks from RTC but needs ability of waking up from low power modes on RTC events (event and interrupts are independent). Than he sets RTC_SUPPORT_CALLBACKS to FALSE and completely disable EXTI driver to save some memory. Callback functions (if needed) will be handled in EXTI driver only.
2) Is it really-really need to have ability of multiple RTC cells in single MCU??
Code: Select all
/**
* @brief RTC driver identifier.
*/
RTCDriver RTCD1;