Jump to main content

##

# 2.120.1.25 TCx_CompareStop Function

## C

    /* x = TC instance number */
    void TCx_CompareStop( void );

## Summary

Stops the timer for given TC instance.

## Description

This function stops the clock and thus timer.

## Precondition

TCx_CompareInitialize() function must have been called first. Also counter should have been started with TCx_CompareStart() function call.

## Parameters

None.

## Returns

None.

## Example

    TC0_CompareInitialize();
    TC0_CompareStart();
    TC0_CompareStop();

## Remarks

None.