Quadrature Encoder (QEI)
Description:
Disables the indicated quadrature encoder interrupt sources. Only the sources that are enabled
can be reflected to the processor interrupt; disabled sources have no effect on the processor.
Returns:
None.
16.2.1.8 ROM_QEIIntEnable
Enables individual quadrature encoder interrupt sources.
Prototype:
void
ROM_QEIIntEnable(uint32_t ui32Base,
uint32_t ui32IntFlags)
ROM Location:
ROM_APITABLE is an array of pointers located at 0x0100.0010.
ROM_QEITABLE is an array of pointers located at ROM_APITABLE[9].
ROM_QEIIntEnable is a function pointer located at ROM_QEITABLE[11].
Parameters:
ui32Base is the base address of the quadrature encoder module.
ui32IntFlags is a bit mask of the interrupt sources to be enabled. Can be any of the
QEI_INTERROR, QEI_INTDIR, QEI_INTTIMER, or QEI_INTINDEX values.
Description:
Enables the indicated quadrature encoder interrupt sources. Only the sources that are enabled
can be reflected to the processor interrupt; disabled sources have no effect on the processor.
Returns:
None.
16.2.1.9 ROM_QEIIntStatus
Gets the current interrupt status.
Prototype:
uint32_t
ROM_QEIIntStatus(uint32_t ui32Base,
bool bMasked)
ROM Location:
ROM_APITABLE is an array of pointers located at 0x0100.0010.
ROM_QEITABLE is an array of pointers located at ROM_APITABLE[9].
ROM_QEIIntStatus is a function pointer located at ROM_QEITABLE[13].
Parameters:
ui32Base is the base address of the quadrature encoder module.
bMasked is false if the raw interrupt status is required and true if the masked interrupt status
is required.
180 April 8, 2013