Jump to main content

##

# 2.80.19 PDECx_COUNTERStop Function

## C

    void PDECx_COUNTERStop ( void ) // x is instance of the peripheral and it is applicable only for devices having multiple instances of the peripheral.

## Summary

Stops the given PDEC counter in counter mode.

## Description

This function stops the clock and thus counter PDEC.

## Precondition

PDECx_COUNTERInitialize function must have been called first for the given channel.

## Parameters

None.

## Returns

None.

## Example

    PDEC_COUNTERInitialize();
    PDEC_COUNTERStart();
    PDEC_COUNTERStop();

## Remarks

None.