2.91.20 QEIx_PositionCaptureSet Function

C

/* x refers to the instance number */

inline static void QEIx_PositionCaptureSet(uint32_t initValue)

Summary

Initializes the 32 bit position capture register value.

Description

This inline function writes to the 32 bit QEI1GEC register.

Precondition

QEI peripheral should be initialized and enabled properly.

Parameters

ParamDescription
initValue32 bit position capture register value

Returns

None.

Example

QEI1_Initialize();
QEI1_Enable();
QEI1_PositionCaptureSet();

Remarks

None.