5.1.4.13 adc_async_set_channel_differential_mode
Set ADC differential mode.
int32_t adc_async_set_channel_differential_mode(
struct adc_async_descriptor *const descr,
const uint8_t channel,
const enum adc_differential_mode mode
)
This function sets ADC differential mode.
Parameters
- descr
-
Type: struct adc_async_descriptor Struct *const
The pointer to the ADC descriptor
- channel
-
Type: const uint8_t
Channel number
- mode
-
Type: const enum adc_differential_mode
A differential mode to set
Returns
Type: int32_t
Status of the ADC differential mode setting.