Download Stellaris Peripheral Driver Library User's Guide

Transcript
Quadrature Encoder (QEI)
Description:
This function configures the operation of the velocity capture portion of the quadrature encoder.
The position increment signal is predivided as specified by ulPreDiv before being accumulated
by the velocity capture. The divided signal is accumulated over ulPeriod system clock before
being saved and resetting the accumulator.
Returns:
None.
22.2.2.15 QEIVelocityDisable
Disables the velocity capture.
Prototype:
void
QEIVelocityDisable(unsigned long ulBase)
Parameters:
ulBase is the base address of the quadrature encoder module.
Description:
This function disables operation of the velocity capture in the quadrature encoder module.
Returns:
None.
22.2.2.16 QEIVelocityEnable
Enables the velocity capture.
Prototype:
void
QEIVelocityEnable(unsigned long ulBase)
Parameters:
ulBase is the base address of the quadrature encoder module.
Description:
This function enables operation of the velocity capture in the quadrature encoder module. The
module must be configured before velocity capture is enabled.
See also:
QEIVelocityConfigure() and QEIEnable()
Returns:
None.
September 05, 2012
331