1.2.27.2 1.3.28.2 1.4.28.2 1.5.28.2 1.6.27.1 1.7.27.1 1.9.25.2 1.10.24.1 1.11.24.1 1.12.25.1 1.13.23.1 1.14.18.1 1.15.19.1 1.16.26.1 1.17.21.1 1.18.22.1 1.19.22.1 1.20.26.1 1.21.27.1 1.22.29.1 1.23.28.1 1.24.24.1 1.25.25.3 1.26.22.3 1.29.28.2 1.30.20.1 1.31.20.1 1.32.31.2 1.33.20.1 1.37.20.1 1.38.27.2 1.39.23.2 1.40.26.2 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.