Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
2 years ago.
Uasge of InterruptManager with mbedOS 5.6.5 and following
Recently I switched to mbedOS 5.6.5 and noticed that when using InterruptManager class, the ompiler informs me about soon to be deprecate code, originating from CallChain class.
Is there a new intended way to interact with InterruptManager class, or will that class also be deprecated in the future.
Background is, I thought it to be a nifty way to implement callbacks for currently not implemented Interrupt callbacks, therefore would like to further use it.
For the moment I use it to implement a callback to handle RTC_Alarm interrupts on STM32F7 controllers.
short example for RTC Alarm IRQn
InterruptManager::get()->add_handler(_instance, &STM32F7_RTC::RTC_AlarmIRQHandler, RTC_Alarm_IRQn);