1.14.2.14 CCPx_CompareStop Function

C

/* x = CCP instance number */

void CCPx_CompareStop( void )

Summary

Stops the timer for given CCP instance.

Description

This function stops the clock and thus timer.

Precondition

CCPx_CompareInitialize() function must have been called first. Also counter should have been started with CCPx_CompareStart() function call.

Parameters

None.

Returns

None.

Example

CCP1_CompareInitialize();
CCP1_CompareStart();
CCP1_CompareStop();

Remarks

None.