1.2.24.75 1.3.24.75 1.4.25.75 1.5.23.75 1.6.25.75 1.7.26.75 1.29.27.75 1.30.17.75 1.31.17.75 1.33.19.75 1.37.17.75 1.40.24.75 TCCx_PWMPeriodInterruptEnable Function

C

/* x = TCC instance number */
void TCCx_PWMPeriodInterruptEnable(void);

Summary

Enables period interrupt

Description

This function enables period interrupt when counter matches period value while counting UP or when counter matches zero while counting DOWN

Precondition

TCCx_PWMInitialize function must have been called first for the given channel

Parameters

None

Returns

None

Example

TCC0_PWMInitialize();
TCC0_PWMPeriodInterruptEnable();

Remarks

None