Jump to main content

##

# 2.120.2.24 TCx_CHy_CaptureInitialize Function

## C

    /* x = TC instance number, y = channel number */
    void TCx_CHy_CaptureInitialize ( void )

## Summary

Initializes given instance of TC channel to capture mode.

## Description

This function initializes given instance of TC channel to capture mode with the options configured in MCC GUI, allowing it to be ready to start capturing selected signal event counter values.

## Precondition

MCC GUI should be configured with the desired values.

## Parameters

None.

## Returns

None.

## Example

    TC0_CH1_CaptureInitialize();

## Remarks

This function must be called before any other TC function is called. This function is normally only called once during system initialization.