Quadrature Encoder (QEI)
Parameters:
ui32Base is the base address of the quadrature encoder module.
Description:
This will disable operation of the velocity capture in the quadrature encoder module.
Returns:
None.
16.2.1.14 ROM_QEIVelocityEnable
Enables the velocity capture.
Prototype:
void
ROM_QEIVelocityEnable(uint32_t ui32Base)
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_QEIVelocityEnable is a function pointer located at ROM_QEITABLE[7].
Parameters:
ui32Base is the base address of the quadrature encoder module.
Description:
This will enable operation of the velocity capture in the quadrature encoder module. It must be
configured before it is enabled. Velocity capture will not occur if the quadrature encoder is not
enabled.
See also:
ROM_QEIVelocityConfigure() and ROM_QEIEnable()
Returns:
None.
16.2.1.15 ROM_QEIVelocityGet
Gets the current encoder speed.
Prototype:
uint32_t
ROM_QEIVelocityGet(uint32_t ui32Base)
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_QEIVelocityGet is a function pointer located at ROM_QEITABLE[10].
Parameters:
ui32Base is the base address of the quadrature encoder module.
April 8, 2013 183