Jump to main content

##

# 2.132.12 WDT_isPowerFailWDTEventSet Function

## C

    bool WDT_isPowerFailWDTEventSet(void)

## Summary

Indicates if the reset cause was due to WDT timeout or not

## Description

Indicates if the reset cause was due to WDT timeout or not

## Precondition

None

## Parameters

None

## Returns

true - Reset cause was due to WDT timeout

false - Reset cause was not due to WDT timeout

## Example

    if (WDT_isPowerFailWDTEventSet())
    {
        // Reset cause is WDT timeout
    }

## Remarks

None