2.6.4.4.2 Function adc_set_window_mode()

Sets the ADC window mode.

void adc_set_window_mode( struct adc_module *const module_inst, const enum adc_window_mode window_mode, const int16_t window_lower_value, const int16_t window_upper_value)

Sets the ADC window mode to a given mode and value range.

Table 2-22. Parameters
Data directionParameter nameDescription

[in]

module_inst

Pointer to the ADC software instance struct

[in]

window_mode

Window monitor mode to set

[in]

window_lower_value

Lower window monitor threshold value

[in]

window_upper_value

Upper window monitor threshold value