a36d49e975
arch/arm/src/tiva/Kconfig: * Add TIVA_HAVE_QEI0, TIVA_HAVE_QEI1 as applicable to each ARCH_CHIP_TM4C12*. * Add config TIVA_QEI, TIVA_HAVE_QEI0, TIVA_HAVE_QEI1. * Add config TIVA_QEI0, config TIVA_QEI1. arch/arm/src/tiva/common/tiva_qencoder.c: * Rewrite tiva_qe_setup(). * Replace tiva_qe_ppr() with tiva_qe_resetatppr(). * Add tiva_qe_resetatmaxpos(), tiva_qe_resetatindex(). arch/arm/src/tiva/hardware/tiva_qencoder.h: * Add missing definitions: SIGMODE_QUADRATURE, SIGMODE_CLK_AND_DIR, SWAP_NO_SWAP, SWAP_PHA_PHB. arch/arm/src/tiva/tiva_qencoder.h: * Rename TIVA QEI ioctl QEIOC_PPR to QEIOC_RESETATPPR. * Add TIVA QEI ioctl identifiers QEIOC_RESETATMAXPOS, QEIOC_RESETATINDEX. include/nuttx/sensors/qencoder.h: * Increase QE_TIVA_NCMDS from 3 to 5. |
||
---|---|---|
.. | ||
include | ||
src | ||
Kconfig |