1.2.19.34 1.3.22.34 1.4.20.34 1.5.21.34 1.6.21.34 1.7.22.34 1.29.21.34 1.30.15.26 1.31.15.26 1.32.24.34 1.33.15.26 1.37.15.26 1.38.20.34 1.39.17.34 1.40.19.34 RTC_Timer16InterruptEnable Function

C

void RTC_Timer16InterruptEnable (RTC_TIMER16_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 16-bit timer counter operation. A valid event handling callback function should have been registered by calling the RTC_Timer16CallbackRegister() function.

Parameters

Param Description
InterruptMask Specifies interrupt source to be enabled

Returns

None.

Example

RTC_Timer16InterruptEnable(RTC_TIMER16_INT_MASK_PERIOD_MATCH);

Remarks

None.