1.3.24.76 TCCx_PWMStart Function

C

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

Summary

Starts PWM generation of given TCC instance

Description

This function enables the TCC and starts the counter of associated instance.

Precondition

TCCx_PWMInitialize() function must have been called first for the given instance.

Parameters

None

Returns

None.

Example

TCC0_PWMInitialize();
TCC0_PWMStart();

Remarks

Due to synchronization, there is a delay from writing to register until peripheral is enabled. This function waits till sync operation is complete.