3.3.11.1 RTC_Timer32CallbackRegister
Register the callback function to be called when an 32-bit Timer Interrupt occurs
This function registers the callback function that the library will call when an interrupt occurs. The library will return the event that has caused the interrupt and the application specified context in the callback function.
void RTC_Timer32CallbackRegister
(
RTC_TIMER32_CALLBACK callback,
uintptr_t context
);
Precondition
- The RTC_Initialize() function should have been called to initialize the RTC module. The module should have been configured for 32-bit Timer Counter operation in MCC. The library should have been configured for Interrupt mode operation. To disable the callback function, pass a NULL for the callback parameter. See the RTC_TIMER32_CALLBACK type definition for additional information.
Parameters
- callback - registered call back function
- context - callers context
Returns
- void
