uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
QEI_CFG_Type Struct Reference

QEI Configuration structure type definition. More...

#include <lpc17xx_qei.h>

Public Attributes

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 359 of file lpc17xx_qei.h.

Member Data Documentation

uint32_t QEI_CFG_Type::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 368 of file lpc17xx_qei.h.

uint32_t QEI_CFG_Type::DirectionInvert

Direction invert option:

  • QEI_DIRINV_NONE: QEI Direction is normal
  • QEI_DIRINV_CMPL: QEI Direction is complemented

Definition at line 360 of file lpc17xx_qei.h.

uint32_t QEI_CFG_Type::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 372 of file lpc17xx_qei.h.

uint32_t QEI_CFG_Type::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 364 of file lpc17xx_qei.h.


The documentation for this struct was generated from the following file: