1.15.2.1 CCPx_TimerStop Function

C

/* x = CCP instance number */

void CCPx_TimerStop( void )

Summary

Stops the timer for given CCP instance.

Description

This function stops the clock and thus timer.

Precondition

CCPx_TimerInitialize() function must have been called first. Also counter should have been started with CCPx_TimerStart() function call.

Parameters

None.

Returns

None.

Example

CCP1_TimerInitialize();
CCP1_TimerStart();
...
CCP1_TimerStop();

Remarks

None.