2.91.19 QEIx_PositionCaptureGet Function
C
/* x refers to the instance number */
inline static uint32_t QEIx_PositionCaptureGet(void)
Summary
Reads the 32-bit position capture value.
Description
This inline function reads the 32-bit position capture value from the QEIxGEC 32 bit register.
Precondition
QEI peripheral should be initialized and enabled properly.
Parameters
None.
Returns
Returns position capture value.
Example
QEI1_Initialize(); QEI1_Enable(); QEI1_PositionCaptureGet();
Remarks
None.