Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
lpc17xx_adc.c File Reference
: Contains all functions support for ADC firmware library on LPC17xx More...
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
Software that is described herein is for illustrative purposes only which provides customers with programming information regarding the products. This software is supplied "AS IS" without any warranties. NXP Semiconductors assumes no responsibility or liability for the use of the software, conveys no license or title under any patent, copyright, or mask work right to the product. NXP Semiconductors reserves the right to make changes in the software without notification. NXP Semiconductors also make no representation or warranty that such application will be suitable for the specified use without further testing or modification.
Definition in file lpc17xx_adc.c.
Generated on Tue Jul 12 2022 17:06:02 by
1.7.2