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:
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
Содержание Tiva TM4C123GH6PM
Страница 26: ...Boot Loader 26 April 8 2013...
Страница 68: ...Controller Area Network CAN 68 April 8 2013...
Страница 122: ...Hibernation Module 122 April 8 2013...
Страница 136: ...Inter Integrated Circuit I2C 136 April 8 2013...
Страница 152: ...Memory Protection Unit MPU 152 April 8 2013...
Страница 174: ...Pulse Width Modulator PWM Returns None 174 April 8 2013...
Страница 196: ...Synchronous Serial Interface SSI 196 April 8 2013...
Страница 222: ...System Control 222 April 8 2013...
Страница 270: ...UART 270 April 8 2013...
Страница 296: ...uDMA Controller 296 April 8 2013...
Страница 351: ...April 8 2013 351...