1.3.23.48 1.4.24.48 1.5.22.48 1.6.24.48 1.7.25.48 1.29.26.48 1.30.16.48 1.31.16.48 1.32.29.48 1.33.18.48 1.37.16.48 1.38.24.48 1.39.21.48 1.40.23.48 TCx_CaptureStatusGet Function

C

/* x = TC instance number */
TCx_CAPTURE_STATUS TCx_CaptureStatusGet( void );

Summary

Reads status capture operation.

Description

This function reads the capture status.

Precondition

TCx_CaptureInitialize() function must have been called first.

Parameters

None.

Returns

Status of capture operation.

Example

TC0_CAPTURE_STATUS captureStatus = TC_CAPTURE_STATUS_OVERFLOW;
TC0_CaptureInitialize();
TC0_CaptureStart();
captureStatus = TC0_CaptureStatusGet();

Remarks

None.