![]() |
LPCOpen Platform
v1.03
LPCOpen Platform for NXP LPC Microcontrollers
|
#include "adc_001.h"Go to the source code of this file.
Functions | |
| void | IP_ADC_Init (IP_ADC_001_T *pADC, uint8_t div, uint8_t bitsAcc, uint32_t flag) |
| Initialize for ADC. | |
| void | IP_ADC_DeInit (IP_ADC_001_T *pADC) |
| Shutdown ADC. | |
| void | IP_ADC_SetBurstMode (IP_ADC_001_T *pADC, FunctionalState NewState) |
| Set burst mode for ADC. | |
| Status | IP_ADC_Get_Val (IP_ADC_001_T *pADC, uint8_t channel, uint16_t *data) |
| Get the ADC value. | |
| FlagStatus | IP_ADC_GetStatus (IP_ADC_001_T *pADC, uint8_t channel, uint32_t StatusType) |
| Get ADC Channel status from ADC data register. | |
| void | IP_ADC_EdgeStartConfig (IP_ADC_001_T *pADC, uint8_t edge_mode) |
| Set the edge start condition. | |
| void | IP_ADC_SetChannelNumber (IP_ADC_001_T *pADC, uint8_t channel, FunctionalState NewState) |
| Enable/Disable ADC channel number. | |
| void | IP_ADC_SetStartMode (IP_ADC_001_T *pADC, uint8_t start_mode) |
| Set start mode for ADC. | |
| void | IP_ADC_Int_Enable (IP_ADC_001_T *pADC, uint8_t channel, FunctionalState NewState) |
| Enable/Disable interrupt for ADC channel. | |