Jump to main content

##

# 2.132.3 WDT_Enable Function

## C

    void WDT_Enable( void );

## Summary

Enables the WDT peripheral.

## Description

This function enables the WDT peripheral. Calling this function will cause the WDT to start counting up to the configured timeout value.

For devices which have Early Warning interrupt support, This function also enables the Early Warning interrupt if it has been enabled in MCC.

## Preconditions

None.

## Parameters

None.

## Returns

None.

## Example

    WDT_Enable();

## Remarks

For some device families this API is generated to enable the WDT in firmware if the WDT is disabled by setting FWDTEN fuse bit to OFF in MCC device configuration.