1.2.19.16 RTC_Timer32InterruptEnable Function

C

void RTC_Timer32InterruptEnable (RTC_TIMER32_INT_MASK interrupt)

Summary

Enable selected RTC interrupt

Description

This function allows the application to enable period match, compare match and periodic event interrupt

Precondition

RTC_Initialize must have been called for the associated RTC instance. The Interrupt option in MHC should have been enabled. The RTC peripheral should have been configured for 32-bit timer counter operation. A valid event handling callback function should have been registered by calling the RTC_Timer32CallbackRegister() function.

Parameters

Param Description
InterruptMask Specifies interrupt source to be enabled

Returns

None.

Example

RTC_Timer32InterruptEnable(RTC_TIMER32_INT_MASK_PERIOD_MATCH);

Remarks

None.