Jump to main content

##

# 2.121.56 TCCx_CaptureStatusGet Function

## C

    /* x = TCC instance number */
    uint32_t TCCx_CaptureStatusGet( void );

## Summary

Reads status capture operation.

## Description

This function reads the capture status.

## Precondition

TCCx_CaptureInitialize() function must have been called first.

## Parameters

None.

## Returns

Status of capture operation.

## Example

    uint32_t captureStatus ;
    TCC0_CaptureInitialize();
    TCC0_CaptureStart();
    captureStatus = TCC0_CaptureStatusGet();

## Remarks

None.