2.91.22 QEIx_PositionCountRead Function
C
/* x refers to the instance number */
inline static uint32_t QEIx_PositionCountRead(void)
Summary
This inline function reads the position count value.
Description
This function reads the position count value from the POSxCNT register.
Precondition
QEI peripheral should be initialized and enabled properly.
Parameters
None.
Returns
None.
Example
QEI1_Initialize(); QEI1_Enable(); QEI1_PositionCountRead();
Remarks
None.