C:/nxpdrv/LPC1700CMSIS/Drivers/source/lpc17xx_adc.c File Reference
: Contains all functions support for ADC firmware library on LPC17xx More...
#include "lpc17xx_adc.h"
#include "lpc17xx_clkpwr.h"
#include "lpc17xx_libcfg_default.h"
Go to the source code of this file.
Functions | |
void | ADC_Init (LPC_ADC_TypeDef *ADCx, uint32_t ConvFreq) |
Initial for ADC
| |
void | ADC_DeInit (LPC_ADC_TypeDef *ADCx) |
Close ADC. | |
uint32_t | ADC_GetData (uint32_t channel) |
Get Result conversion from A/D data register. | |
void | ADC_StartCmd (LPC_ADC_TypeDef *ADCx, uint8_t start_mode) |
Set start mode for ADC. | |
void | ADC_BurstCmd (LPC_ADC_TypeDef *ADCx, FunctionalState NewState) |
ADC Burst mode setting. | |
void | ADC_PowerdownCmd (LPC_ADC_TypeDef *ADCx, FunctionalState NewState) |
Set AD conversion in power mode. | |
void | ADC_EdgeStartConfig (LPC_ADC_TypeDef *ADCx, uint8_t EdgeOption) |
Set Edge start configuration. | |
void | ADC_IntConfig (LPC_ADC_TypeDef *ADCx, ADC_TYPE_INT_OPT IntType, FunctionalState NewState) |
ADC interrupt configuration. | |
void | ADC_ChannelCmd (LPC_ADC_TypeDef *ADCx, uint8_t Channel, FunctionalState NewState) |
Enable/Disable ADC channel number. | |
uint16_t | ADC_ChannelGetData (LPC_ADC_TypeDef *ADCx, uint8_t channel) |
Get ADC result. | |
FlagStatus | ADC_ChannelGetStatus (LPC_ADC_TypeDef *ADCx, uint8_t channel, uint32_t StatusType) |
Get ADC Chanel status from ADC data register. | |
uint16_t | ADC_GlobalGetData (LPC_ADC_TypeDef *ADCx, uint8_t channel) |
Get ADC Data from AD Global register. | |
FlagStatus | ADC_GlobalGetStatus (LPC_ADC_TypeDef *ADCx, uint32_t StatusType) |
Get ADC Chanel status from AD global data register. |
Detailed Description
: Contains all functions support for ADC firmware library on LPC17xx
- Version:
- : 1.0
- Date:
- : 3. April. 2009
- Author:
- : NgaDinh
Definition in file lpc17xx_adc.c.
Generated on Mon Feb 8 10:01:41 2010 for LPC1700CMSIS Standard Peripheral Firmware Library by
