5.2.4.9 adc_dma_set_resolution
Set ADC resolution.
int32_t adc_dma_set_resolution(
struct adc_dma_descriptor *const descr,
const adc_resolution_t resolution
)
This function sets ADC resolution.
Parameters
- descr
-
Type: struct adc_dma_descriptor Struct *const
The pointer to the ADC descriptor
- resolution
-
Type: const adc_resolution_t
A resolution to set
Returns
Type: int32_t
Status of the ADC resolution setting.