1.5.23.21 TCCx_TimerStop Function

C

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

Summary

Stops the timer for given TCC instance.

Description

This function stops the clock and thus timer.

Precondition

TCCx_TimerInitialize() function must have been called first. Also counter should have been started with TCCx_TimerStart() function call.

Parameters

None.

Returns

None.

Example

TCC0_TimerInitialize();
TCC0_TimerStart();
TCC0_TimerStop();

Remarks

None.