EasyManuals Logo

Texas Instruments Tiva TM4C123GH6PM User Manual

Texas Instruments Tiva TM4C123GH6PM
352 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #178 background imageLoading...
Page #178 background image
Quadrature Encoder (QEI)
16.2.1.4 ROM_QEIEnable
Enables the quadrature encoder.
Prototype:
void
ROM_QEIEnable(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_QEIEnable is a function pointer located at ROM_QEITABLE[1].
Parameters:
ui32Base is the base address of the quadrature encoder module.
Description:
This will enable operation of the quadrature encoder module. It must be configured before it is
enabled.
See also:
ROM_QEIConfigure()
Returns:
None.
16.2.1.5 ROM_QEIErrorGet
Gets the encoder error indicator.
Prototype:
bool
ROM_QEIErrorGet(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_QEIErrorGet is a function pointer located at ROM_QEITABLE[6].
Parameters:
ui32Base is the base address of the quadrature encoder module.
Description:
This returns the error indicator for the quadrature encoder. It is an error for both of the signals
of the quadrature input to change at the same time.
Returns:
Returns true if an error has occurred and false otherwise.
178 April 8, 2013

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments Tiva TM4C123GH6PM and is the answer not in the manual?

Texas Instruments Tiva TM4C123GH6PM Specifications

General IconGeneral
BrandTexas Instruments
ModelTiva TM4C123GH6PM
CategoryMicrocontrollers
LanguageEnglish

Related product manuals