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

Functions

void TIM_Init (LPC_TIM_TypeDef *TIMx, TIM_MODE_OPT TimerCounterMode, void *TIM_ConfigStruct)
 
void TIM_DeInit (LPC_TIM_TypeDef *TIMx)
 
void TIM_ClearIntPending (LPC_TIM_TypeDef *TIMx, TIM_INT_TYPE IntFlag)
 
void TIM_ClearIntCapturePending (LPC_TIM_TypeDef *TIMx, TIM_INT_TYPE IntFlag)
 
FlagStatus TIM_GetIntStatus (LPC_TIM_TypeDef *TIMx, TIM_INT_TYPE IntFlag)
 
FlagStatus TIM_GetIntCaptureStatus (LPC_TIM_TypeDef *TIMx, TIM_INT_TYPE IntFlag)
 
void TIM_ConfigStructInit (TIM_MODE_OPT TimerCounterMode, void *TIM_ConfigStruct)
 
void TIM_ConfigMatch (LPC_TIM_TypeDef *TIMx, TIM_MATCHCFG_Type *TIM_MatchConfigStruct)
 
void TIM_UpdateMatchValue (LPC_TIM_TypeDef *TIMx, uint8_t MatchChannel, uint32_t MatchValue)
 
void TIM_SetMatchExt (LPC_TIM_TypeDef *TIMx, TIM_EXTMATCH_OPT ext_match)
 
void TIM_ConfigCapture (LPC_TIM_TypeDef *TIMx, TIM_CAPTURECFG_Type *TIM_CaptureConfigStruct)
 
void TIM_Cmd (LPC_TIM_TypeDef *TIMx, FunctionalState NewState)
 
uint32_t TIM_GetCaptureValue (LPC_TIM_TypeDef *TIMx, TIM_COUNTER_INPUT_OPT CaptureChannel)
 
void TIM_ResetCounter (LPC_TIM_TypeDef *TIMx)
 

Detailed Description

Function Documentation

void TIM_ClearIntCapturePending ( LPC_TIM_TypeDef TIMx,
TIM_INT_TYPE  IntFlag 
)
void TIM_ClearIntPending ( LPC_TIM_TypeDef TIMx,
TIM_INT_TYPE  IntFlag 
)
void TIM_Cmd ( LPC_TIM_TypeDef TIMx,
FunctionalState  NewState 
)
void TIM_ConfigCapture ( LPC_TIM_TypeDef TIMx,
TIM_CAPTURECFG_Type TIM_CaptureConfigStruct 
)
void TIM_ConfigMatch ( LPC_TIM_TypeDef TIMx,
TIM_MATCHCFG_Type TIM_MatchConfigStruct 
)
void TIM_ConfigStructInit ( TIM_MODE_OPT  TimerCounterMode,
void *  TIM_ConfigStruct 
)
void TIM_DeInit ( LPC_TIM_TypeDef TIMx)
uint32_t TIM_GetCaptureValue ( LPC_TIM_TypeDef TIMx,
TIM_COUNTER_INPUT_OPT  CaptureChannel 
)
FlagStatus TIM_GetIntCaptureStatus ( LPC_TIM_TypeDef TIMx,
TIM_INT_TYPE  IntFlag 
)
FlagStatus TIM_GetIntStatus ( LPC_TIM_TypeDef TIMx,
TIM_INT_TYPE  IntFlag 
)
void TIM_Init ( LPC_TIM_TypeDef TIMx,
TIM_MODE_OPT  TimerCounterMode,
void *  TIM_ConfigStruct 
)
void TIM_ResetCounter ( LPC_TIM_TypeDef TIMx)
void TIM_SetMatchExt ( LPC_TIM_TypeDef TIMx,
TIM_EXTMATCH_OPT  ext_match 
)
void TIM_UpdateMatchValue ( LPC_TIM_TypeDef TIMx,
uint8_t  MatchChannel,
uint32_t  MatchValue 
)