2.91.14 QEIx_PhaseInputSwappedGet Function
C
/* x refers to the instance number */
inline static bool QEIx_PhaseInputSwappedGet(void)
Summary
Gets the status of QEI input phase swap configuration.
Description
This function returns true if the QEA and QEB inputs were swapped before decoder logic and false otherwise.
Precondition
QEI peripheral should be initialized and enabled properly.
Parameters
None.
Returns
true - Phase inputs are swapped.
false - Phase inputs are not swapped.
Example
QEI1_Initialize(); QEI1_Enable(); QEI1_PhaseInputSwappedGet();
Remarks
None.