uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
QEI Public Functions

Functions

void QEI_Reset (LPC_QEI_TypeDef *QEIx, uint32_t ulResetType)
 
void QEI_Init (LPC_QEI_TypeDef *QEIx, QEI_CFG_Type *QEI_ConfigStruct)
 
void QEI_ConfigStructInit (QEI_CFG_Type *QIE_InitStruct)
 
void QEI_DeInit (LPC_QEI_TypeDef *QEIx)
 
FlagStatus QEI_GetStatus (LPC_QEI_TypeDef *QEIx, uint32_t ulFlagType)
 
uint32_t QEI_GetPosition (LPC_QEI_TypeDef *QEIx)
 
void QEI_SetMaxPosition (LPC_QEI_TypeDef *QEIx, uint32_t ulMaxPos)
 
void QEI_SetPositionComp (LPC_QEI_TypeDef *QEIx, uint8_t bPosCompCh, uint32_t ulPosComp)
 
uint32_t QEI_GetIndex (LPC_QEI_TypeDef *QEIx)
 
void QEI_SetIndexComp (LPC_QEI_TypeDef *QEIx, uint32_t ulIndexComp)
 
void QEI_SetTimerReload (LPC_QEI_TypeDef *QEIx, QEI_RELOADCFG_Type *QEIReloadStruct)
 
uint32_t QEI_GetTimer (LPC_QEI_TypeDef *QEIx)
 
uint32_t QEI_GetVelocity (LPC_QEI_TypeDef *QEIx)
 
uint32_t QEI_GetVelocityCap (LPC_QEI_TypeDef *QEIx)
 
void QEI_SetVelocityComp (LPC_QEI_TypeDef *QEIx, uint32_t ulVelComp)
 
void QEI_SetDigiFilter (LPC_QEI_TypeDef *QEIx, uint32_t ulSamplingPulse)
 
FlagStatus QEI_GetIntStatus (LPC_QEI_TypeDef *QEIx, uint32_t ulIntType)
 
void QEI_IntCmd (LPC_QEI_TypeDef *QEIx, uint32_t ulIntType, FunctionalState NewState)
 
void QEI_IntSet (LPC_QEI_TypeDef *QEIx, uint32_t ulIntType)
 
void QEI_IntClear (LPC_QEI_TypeDef *QEIx, uint32_t ulIntType)
 
uint32_t QEI_CalculateRPM (LPC_QEI_TypeDef *QEIx, uint32_t ulVelCapValue, uint32_t ulPPR)
 

Detailed Description

Function Documentation

uint32_t QEI_CalculateRPM ( LPC_QEI_TypeDef QEIx,
uint32_t  ulVelCapValue,
uint32_t  ulPPR 
)
void QEI_ConfigStructInit ( QEI_CFG_Type QIE_InitStruct)
void QEI_DeInit ( LPC_QEI_TypeDef QEIx)
uint32_t QEI_GetIndex ( LPC_QEI_TypeDef QEIx)
FlagStatus QEI_GetIntStatus ( LPC_QEI_TypeDef QEIx,
uint32_t  ulIntType 
)
uint32_t QEI_GetPosition ( LPC_QEI_TypeDef QEIx)
FlagStatus QEI_GetStatus ( LPC_QEI_TypeDef QEIx,
uint32_t  ulFlagType 
)
uint32_t QEI_GetTimer ( LPC_QEI_TypeDef QEIx)
uint32_t QEI_GetVelocity ( LPC_QEI_TypeDef QEIx)
uint32_t QEI_GetVelocityCap ( LPC_QEI_TypeDef QEIx)
void QEI_Init ( LPC_QEI_TypeDef QEIx,
QEI_CFG_Type QEI_ConfigStruct 
)
void QEI_IntClear ( LPC_QEI_TypeDef QEIx,
uint32_t  ulIntType 
)
void QEI_IntCmd ( LPC_QEI_TypeDef QEIx,
uint32_t  ulIntType,
FunctionalState  NewState 
)
void QEI_IntSet ( LPC_QEI_TypeDef QEIx,
uint32_t  ulIntType 
)
void QEI_Reset ( LPC_QEI_TypeDef QEIx,
uint32_t  ulResetType 
)
void QEI_SetDigiFilter ( LPC_QEI_TypeDef QEIx,
uint32_t  ulSamplingPulse 
)
void QEI_SetIndexComp ( LPC_QEI_TypeDef QEIx,
uint32_t  ulIndexComp 
)
void QEI_SetMaxPosition ( LPC_QEI_TypeDef QEIx,
uint32_t  ulMaxPos 
)
void QEI_SetPositionComp ( LPC_QEI_TypeDef QEIx,
uint8_t  bPosCompCh,
uint32_t  ulPosComp 
)
void QEI_SetTimerReload ( LPC_QEI_TypeDef QEIx,
QEI_RELOADCFG_Type QEIReloadStruct 
)
void QEI_SetVelocityComp ( LPC_QEI_TypeDef QEIx,
uint32_t  ulVelComp 
)