1.10.17.6 QEIx_Initialize Function

C

/* x = QEI instance number */

void QEIx_Initialize ( void )

Summary

Initializes given instance of QEI peripheral in quadrature mode.

Description

This function initializes given instance of QEI peripheral in quadrature mode with options configured in MHC GUI.

Precondition

MHC GUI should be configured with the desired options.

Parameters

None.

Returns

None.

Example

QEI1_Initialize();

Remarks

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