1.7.26.43 TCCx_CompareStop Function

C

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

Summary

Stops the timer for given TCC instance.

Description

This function stops the clock and thus timer.

Precondition

TCCx_CompareInitialize() function must have been called first. Also counter should have been started with TCCx_CompareStart() function call.

Parameters

None.

Returns

None.

Example

TCC0_CompareInitialize();
TCC0_CompareStart();
TCC0_CompareStop();

Remarks

None.