1.2.15.17 1.3.17.17 1.5.16.17 1.32.18.17 PDECx_COUNTERInitialize Function

C

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

Summary

Initializes given instance of PDEC peripheral in counter mode.

Description

This function initializes given instance of PDEC peripheral in counter mode with options configured in MCC GUI.

Precondition

MCC GUI should be configured with the desired options.

Parameters

None.

Returns

None.

Example

PDEC_COUNTERInitialize();

Remarks

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