1.2.27.3 1.3.28.3 1.4.28.3 1.5.28.3 1.6.27.2 1.7.27.2 1.9.25.3 1.10.24.2 1.11.24.2 1.12.25.2 1.13.23.2 1.14.18.2 1.15.19.2 1.16.26.2 1.17.21.2 1.18.22.2 1.19.22.2 1.20.26.2 1.21.27.2 1.22.29.2 1.23.28.2 1.24.24.2 1.25.25.4 1.26.22.4 1.29.28.3 1.30.20.2 1.31.20.2 1.32.31.3 1.33.20.2 1.37.20.2 1.38.27.3 1.39.23.3 1.40.26.3 WDT_Disable Function

C

void WDT_Disable( void )

Summary

Disables the WDT peripheral.

Description

This function is used to stop the WDT counter and disable WDT peripheral.

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

Preconditions

WDT must be enabled using WDT_Enable().

Parameters

None.

Returns

None.

Example

WDT_Disable();

Remarks

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

  • Certain devices does not allow disabling Watchdog timers once enabled. This API will not have any effect if ALWAYSON bit in watchdog is enabled.