1.32.2.11 ADCx_WindowModeSet Function

C

void ADCx_WindowModeSet(ADC_WINMODE mode); // x is instance of the peripheral and it is applicable only for devices having multiple instances of the peripheral.

Summary

This function configures the window comparison mode.

Description

This function sets the window comparison mode.

Precondition

ADCx_Initialize() function must have been called first for the associated instance.

Parameters

Param Description
mode window comparison mode

Returns

None

Example

ADC0_Initialize();
ADC0_WindowModeSet(ADC_WINMODE_GREATER_THAN_WINLT);

Remarks

None