1.2.24.77 1.3.24.77 1.4.25.77 1.5.23.77 1.6.25.77 1.7.26.77 1.29.27.77 1.30.17.77 1.31.17.77 1.33.19.77 1.37.17.77 1.40.24.77 TCCx_PWMStop Function

C

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

Summary

Stops PWM generation of given TCC instance

Description

This function stops 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();
// Run application
TCC0_PWMStop();

Remarks

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