Jump to main content

##

# 2.57.5 ICAPx_CaptureStatusGet Function

## C

    /* x = ICAP instance number */

    bool ICAPx_CaptureStatusGet (void)

## Summary

Reads and returns the capture status

## Description

Reads and returns the capture status

## Precondition

ICAPx_Initialize() function must have been called first.

## Parameters

None.

## Returns

bool - Capture status of channel 0.

## Example

    bool captureStatus;
    ICAP1_Enable();
    captureStatus = ICAP1_CaptureStatusGet();

## Remarks

None.