Jump to main content

##

# 2.104.8 SDADC_WindowMonitorIsSet Function

## C

    bool SDADC_WindowMonitorIsSet( void )

## Summary

Returns the status of the window monitor.

## Description

This function returns the status of whether window monitor condition is met.

## Precondition

SDADC_Initialize() function must have been called first for the associated instance. Also conversion must have been started.

## Parameters

None.

## Returns

true - Window monitor condition is met false - Window monitor condition is not met

## Example

    bool sdadcWinMonStatus;
    SDADC_Initialize();
    SDADC_ConversionStart();
    sdadcWinMonStatus = SDADC_WindowMonitorIsSet();

## Remarks

This function should be called only after conversion is started and window monitor mode is enabled.