C:/nxpdrv/LPC1700CMSIS/Drivers/source/lpc17xx_pwm.c File Reference
: Contains all functions support for PWM firmware library on LPC17xx More...
#include "lpc17xx_pwm.h"
#include "lpc17xx_clkpwr.h"
#include "lpc17xx_libcfg_default.h"
Go to the source code of this file.
Functions | |
IntStatus | PWM_GetIntStatus (LPC_PWM_TypeDef *PWMx, uint32_t IntFlag) |
Check whether specified interrupt flag in PWM is set or not. | |
void | PWM_ClearIntPending (LPC_PWM_TypeDef *PWMx, uint32_t IntFlag) |
Clear specified PWM Interrupt pending. | |
void | PWM_ConfigStructInit (uint8_t PWMTimerCounterMode, void *PWM_InitStruct) |
Fills each PWM_InitStruct member with its default value:
| |
void | PWM_Init (LPC_PWM_TypeDef *PWMx, uint32_t PWMTimerCounterMode, void *PWM_ConfigStruct) |
Initializes the PWMx peripheral corresponding to the specified parameters in the PWM_ConfigStruct. | |
void | PWM_DeInit (LPC_PWM_TypeDef *PWMx) |
De-initializes the PWM peripheral registers to their default reset values. | |
void | PWM_Cmd (LPC_PWM_TypeDef *PWMx, FunctionalState NewState) |
Enable/Disable PWM peripheral. | |
void | PWM_CounterCmd (LPC_PWM_TypeDef *PWMx, FunctionalState NewState) |
Enable/Disable Counter in PWM peripheral. | |
void | PWM_ResetCounter (LPC_PWM_TypeDef *PWMx) |
Reset Counter in PWM peripheral. | |
void | PWM_ConfigMatch (LPC_PWM_TypeDef *PWMx, PWM_MATCHCFG_Type *PWM_MatchConfigStruct) |
Configures match for PWM peripheral. | |
void | PWM_ConfigCapture (LPC_PWM_TypeDef *PWMx, PWM_CAPTURECFG_Type *PWM_CaptureConfigStruct) |
Configures capture input for PWM peripheral. | |
uint32_t | PWM_GetCaptureValue (LPC_PWM_TypeDef *PWMx, uint8_t CaptureChannel) |
Read value of capture register PWM peripheral. | |
void | PWM_MatchUpdate (LPC_PWM_TypeDef *PWMx, uint8_t MatchChannel, uint32_t MatchValue, uint8_t UpdateType) |
Update value for each PWM channel with update type option. | |
void | PWM_ChannelConfig (LPC_PWM_TypeDef *PWMx, uint8_t PWMChannel, uint8_t ModeOption) |
Configure Edge mode for each PWM channel. | |
void | PWM_ChannelCmd (LPC_PWM_TypeDef *PWMx, uint8_t PWMChannel, FunctionalState NewState) |
Enable/Disable PWM channel output. |
Detailed Description
: Contains all functions support for PWM firmware library on LPC17xx
- Version:
- : 1.0
- Date:
- : 22. Apr. 2009
- Author:
- : HieuNguyen
Definition in file lpc17xx_pwm.c.
Generated on Mon Feb 8 10:01:42 2010 for LPC1700CMSIS Standard Peripheral Firmware Library by
