Jump to main content

##

# 2.121.43 TCCx_CompareCommandSet Function

## C

    /* x = TCC instance number */
    void TCCx_CompareCommandSet(TCC_COMMAND command);

## Summary

Issues the command to TCC instance

## Description

This function issues the command to control the counter by software

## Precondition

TCCx_CompareInitialize() function must have been called first.

## Parameters

Param | Description
--- | ---
command | software command

## Returns

None

## Example

    TCC0_CompareInitialize();
    TCC0_CompareCommandSet(TCC_COMMAND_START_RETRIGGER);

## Remarks

None.