Jump to main content

##

# 2.91.11 QEIx_Enable Function

## C

    /* x refers to the instance number */

    inline static void  QEIx_Enable(void)

## Summary

This inline function enables the QEIx peripheral.

## Description

This function enables the instance of the QEI peripheral by setting the enable bit in the QEIxCON register. Starts the execution of the QEIx peripheral

## Precondition

QEI peripheral should be initialized properly.

## Parameters

None.

## Returns

None.

## Example

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

## Remarks

None.