1.6.27.1 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 MHC.

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 MHC device configuration.