2.91.23 QEIx_PositionCountWrite Function
C
/* x refers to the instance number */
inline static void QEIx_PositionCountWrite(uint32_t positionCount)
Summary
This inline function sets the QEIx position count value.
Description
This inline function writes to the POSxCNT register of the QEIx peripheral.
Precondition
QEI peripheral should be initialized and enabled properly.
Parameters
None.
Returns
None.
Example
QEI1_Initialize();
QEI1_Enable();
QEI1_PositionCountWrite(0x9);
Remarks
None.