Jump to main content

##

# 2.80.18 PDECx_COUNTERStart Function

## C

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

## Summary

Starts the given PDEC counter in counter mode.

## Description

This function enables the clock and starts the counter in counter mode.

## Precondition

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

## Parameters

None.

## Returns

None.

## Example

    PDEC_COUNTERInitialize();
    PDEC_COUNTERStart();

## Remarks

None.