QEI_CFG_Type Struct Reference
[QEI_Public_Types]
QEI Configuration structure type definition.
More...
#include <lpc17xx_qei.h>
Data Fields | |
uint32_t | DirectionInvert:1 |
uint32_t | SignalMode:1 |
uint32_t | CaptureMode:1 |
uint32_t | InvertIndex:1 |
Detailed Description
QEI Configuration structure type definition.Definition at line 238 of file lpc17xx_qei.h.
Field Documentation
uint32_t CaptureMode |
Capture Mode Option:
- QEI_CAPMODE_2X: Only Phase-A edges are counted (2X)
- QEI_CAPMODE_4X: BOTH Phase-A and Phase-B edges are counted (4X)
Definition at line 247 of file lpc17xx_qei.h.
uint32_t DirectionInvert |
Direction invert option:
- QEI_DIRINV_NONE: QEI Direction is normal
- QEI_DIRINV_CMPL: QEI Direction is complemented
Definition at line 239 of file lpc17xx_qei.h.
uint32_t InvertIndex |
Invert Index Option:
- QEI_INVINX_NONE: the sense of the index input is normal
- QEI_INVINX_EN: inverts the sense of the index input
Definition at line 251 of file lpc17xx_qei.h.
uint32_t SignalMode |
Signal mode Option:
- QEI_SIGNALMODE_QUAD: Signal is in Quadrature phase mode
- QEI_SIGNALMODE_CLKDIR: Signal is in Clock/Direction mode
Definition at line 243 of file lpc17xx_qei.h.
The documentation for this struct was generated from the following file:
- C:/nxpdrv/LPC1700CMSIS/Drivers/include/lpc17xx_qei.h
Generated on Mon Feb 8 10:01:55 2010 for LPC1700CMSIS Standard Peripheral Firmware Library by 1.5.9