1.14.2.33 1.15.2.33 CCPx_CaptureStatusGet Function

C

/* x = CCP instance number */

bool CCPx_CaptureStatusGet( void )

Summary

Reads status of capture operation.

Description

This function reads the capture status.

Precondition

CCPx_CaptureInitialize() function must have been called first.

Parameters

None.

Returns

  • True: If capture is complete - False: If Capture is not complete

Example

CCP_CAPTURE_STATUS captureStatus = CCP_CAPTURE_STATUS_OVERFLOW;
CCP1_CaptureInitialize();
CCP1_CaptureStart();
captureStatus = CCP1_CaptureStatusGet();

Remarks

None.