1.5.16.3 PDECx_QDECStop Function

C

void PDECx_QDECStop ( 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 quadrature mode.

Description

This function stops the clock and thus counter PDEC, stopping tracking of the quadrature signals.

Precondition

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

Parameters

None.

Returns

None.

Example

PDEC_QDECInitialize();
PDEC_QDECStart();
PDEC_QDECStop();

Remarks

None.