1.6.25.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