|
SemiDrive SSDK Appication Program Interface PTG3.0
|
#include <sdrv_adc.h>
Data Fields | |
| uint32_t | sample_time: 3 |
| uint32_t | ref_sel: 1 |
| uint32_t | input_mode: 1 |
| uint32_t __pad0__ |
| uint32_t input_mode |
channel input mode, SDRV_ADC_INPUT_SINGLE or SDRV_ADC_INPUT_DIFF
| uint32_t ref_sel |
reference voltage selection, must be SDRV_ADC_REF_VREFP*
| uint32_t sample_time |
sample time, must be SDRV_ADC_SAMPLE_TIME_*