AnsweredAssumed Answered

How to enable RTC interrupt with HAL Library?

Question asked by Nguyen.Nam.005 on Apr 21, 2017
Latest reply on Apr 21, 2017 by Imen D

Hi everyone,

I'm using STM32F103 with CubeMX.

I enabled the RTC Global Interrupt but I don't know how to configure it to generate a 1/4 second interrupt?

Because the Reference Manual says:

Three dedicated maskable interrupt lines:
– Alarm interrupt, for generating a software programmable alarm interrupt.
Seconds interrupt, for generating a periodic interrupt signal with a programmable
period length (up to 1 second).
– Overflow interrupt, to detect when the internal programmable counter rolls over to

Could anybody show me how to configure this with HAL Library?

Best regards,