2.91.10 QEIx_Disable Function

C

/* x refers to the instance number */

inline static void QEIx_Disable(void)

Summary

This inline function disables the QEIx peripheral.

Description

This function disables the instance of the QEI peripheral by clearing the enable bit in the QEIxCON register.

Precondition

QEI peripheral should be initialized and enabled properly.

Parameters

None.

Returns

None.

Example

QEI1_Initialize();
QEI1_Enable();
//Perform QEI1 operations here
QEI1_Disable();

Remarks

Stops the execution of the QEIx peripheral