Hi guys,
i need rtc functionalty in my current ChibiOS project. today its based on 2.6.0 and there is no implementation of rtc Callbacks like RTCv1.
Is someone working on this? if yes where can i get the code? If not i would port RTCv1 Callback to RTCv2 as implemented in RTCv1 and post it here.
But i dont want to do work that has already been done.
Thanks
Tec
HAL RTCv2 for STM32F4xx with Callback/ISR Support
Moderator: RoccoMarco
-
tecnologic
- Posts: 124
- Joined: Tue Jan 10, 2012 8:42 am
- Has thanked: 21 times
- Been thanked: 5 times
- Giovanni
- Site Admin
- Posts: 14892
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: HAL RTCv2 for STM32F4xx with Callback/ISR Support
Hi,
The new RTC does not have its own interrupt handler but it is connected to the EXTI unit, you can get the RTC interrupt as an EXT driver callback.
Giovanni
The new RTC does not have its own interrupt handler but it is connected to the EXTI unit, you can get the RTC interrupt as an EXT driver callback.
Giovanni
-
tecnologic
- Posts: 124
- Joined: Tue Jan 10, 2012 8:42 am
- Has thanked: 21 times
- Been thanked: 5 times
Re: HAL RTCv2 for STM32F4xx with Callback/ISR Support
Hi Giovanni,
i read that the int is routed through EXTI 17, but was not thinking of using the exti driver.
i'll try that.
Thanks
Tec
i read that the int is routed through EXTI 17, but was not thinking of using the exti driver.
i'll try that.
Thanks
Tec