1.38.24.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.