![]() |
NANO103 BSP V3.01.004
The Board Support Package for Nano103 Series
|
Nano 103 ADC driver source file. More...
#include "Nano103.h"
Go to the source code of this file.
Functions | |
void | ADC_Open (ADC_T *adc, uint32_t u32InputMode, uint32_t u32OpMode, uint32_t u32ChMask) |
This API configures ADC module to be ready for convert the input from selected channel. More... | |
void | ADC_Close (ADC_T *adc) |
Disable ADC module. More... | |
void | ADC_EnableHWTrigger (ADC_T *adc, uint32_t u32Source, uint32_t u32Param) |
Configure the hardware trigger condition and enable hardware trigger. More... | |
void | ADC_DisableHWTrigger (ADC_T *adc) |
Disable hardware trigger ADC function. More... | |
void | ADC_EnableTimerTrigger (ADC_T *adc, uint32_t u32Source, uint32_t u32PDMACnt) |
Config and enable timer trigger. More... | |
void | ADC_DisableTimerTrigger (ADC_T *adc) |
Disable timer trigger ADC function. More... | |
void | ADC_SetExtraSampleTime (ADC_T *adc, uint32_t u32ChNum, uint32_t u32SampleTime) |
Configure the hardware trigger condition and enable hardware trigger. More... | |
void | ADC_EnableInt (ADC_T *adc, uint32_t u32Mask) |
Enable the interrupt(s) selected by u32Mask parameter. More... | |
void | ADC_DisableInt (ADC_T *adc, uint32_t u32Mask) |
Disable the interrupt(s) selected by u32Mask parameter. More... | |
Nano 103 ADC driver source file.
Definition in file adc.c.