adc_sync_set_window_mode

Set ADC window mode.

int32_t adc_sync_set_window_mode(
    struct adc_sync_descriptor *const descr,
    const adc_window_mode_t mode
)

This function sets ADC window mode.

Parameters

descr

Type: struct adc_sync_descriptor Struct *const

The pointer to the ADC descriptor

mode

Type: const adc_window_mode_t

A window mode to set

Returns

Type: int32_t

Status of the ADC window mode setting.