1.2.24.76 1.3.24.76 1.4.25.76 1.5.23.76 1.6.25.76 1.7.26.76 1.29.27.76 1.30.17.76 1.31.17.76 1.33.19.76 1.37.17.76 1.40.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.