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

Functions

void PWM_PinConfig (LPC_PWM_TypeDef *PWMx, uint8_t PWM_Channel, uint8_t PinselOption)
 
IntStatus PWM_GetIntStatus (LPC_PWM_TypeDef *PWMx, uint32_t IntFlag)
 
void PWM_ClearIntPending (LPC_PWM_TypeDef *PWMx, uint32_t IntFlag)
 
void PWM_ConfigStructInit (uint8_t PWMTimerCounterMode, void *PWM_InitStruct)
 
void PWM_Init (LPC_PWM_TypeDef *PWMx, uint32_t PWMTimerCounterMode, void *PWM_ConfigStruct)
 
void PWM_DeInit (LPC_PWM_TypeDef *PWMx)
 
void PWM_Cmd (LPC_PWM_TypeDef *PWMx, FunctionalState NewState)
 
void PWM_CounterCmd (LPC_PWM_TypeDef *PWMx, FunctionalState NewState)
 
void PWM_ResetCounter (LPC_PWM_TypeDef *PWMx)
 
void PWM_ConfigMatch (LPC_PWM_TypeDef *PWMx, PWM_MATCHCFG_Type *PWM_MatchConfigStruct)
 
void PWM_ConfigCapture (LPC_PWM_TypeDef *PWMx, PWM_CAPTURECFG_Type *PWM_CaptureConfigStruct)
 
uint32_t PWM_GetCaptureValue (LPC_PWM_TypeDef *PWMx, uint8_t CaptureChannel)
 
void PWM_MatchUpdate (LPC_PWM_TypeDef *PWMx, uint8_t MatchChannel, uint32_t MatchValue, uint8_t UpdateType)
 
void PWM_ChannelConfig (LPC_PWM_TypeDef *PWMx, uint8_t PWMChannel, uint8_t ModeOption)
 
void PWM_ChannelCmd (LPC_PWM_TypeDef *PWMx, uint8_t PWMChannel, FunctionalState NewState)
 

Detailed Description

Function Documentation

void PWM_ChannelCmd ( LPC_PWM_TypeDef PWMx,
uint8_t  PWMChannel,
FunctionalState  NewState 
)
void PWM_ChannelConfig ( LPC_PWM_TypeDef PWMx,
uint8_t  PWMChannel,
uint8_t  ModeOption 
)
void PWM_ClearIntPending ( LPC_PWM_TypeDef PWMx,
uint32_t  IntFlag 
)
void PWM_Cmd ( LPC_PWM_TypeDef PWMx,
FunctionalState  NewState 
)
void PWM_ConfigCapture ( LPC_PWM_TypeDef PWMx,
PWM_CAPTURECFG_Type PWM_CaptureConfigStruct 
)
void PWM_ConfigMatch ( LPC_PWM_TypeDef PWMx,
PWM_MATCHCFG_Type PWM_MatchConfigStruct 
)
void PWM_ConfigStructInit ( uint8_t  PWMTimerCounterMode,
void *  PWM_InitStruct 
)
void PWM_CounterCmd ( LPC_PWM_TypeDef PWMx,
FunctionalState  NewState 
)
void PWM_DeInit ( LPC_PWM_TypeDef PWMx)
uint32_t PWM_GetCaptureValue ( LPC_PWM_TypeDef PWMx,
uint8_t  CaptureChannel 
)
IntStatus PWM_GetIntStatus ( LPC_PWM_TypeDef PWMx,
uint32_t  IntFlag 
)
void PWM_Init ( LPC_PWM_TypeDef PWMx,
uint32_t  PWMTimerCounterMode,
void *  PWM_ConfigStruct 
)
void PWM_MatchUpdate ( LPC_PWM_TypeDef PWMx,
uint8_t  MatchChannel,
uint32_t  MatchValue,
uint8_t  UpdateType 
)
void PWM_PinConfig ( LPC_PWM_TypeDef PWMx,
uint8_t  PWM_Channel,
uint8_t  PinselOption 
)
void PWM_ResetCounter ( LPC_PWM_TypeDef PWMx)