1.2.27.6 1.3.28.6 1.4.28.6 1.5.28.6 1.9.25.6 1.29.28.6 1.30.20.4 1.31.20.4 1.32.31.6 1.33.20.4 1.37.20.4 1.38.27.6 1.39.23.6 1.40.26.6 WDT_ClearWithSync Function
C
void WDT_ClearWithSync( void )
Summary
Restarts the WDT counter with write sync.
Description
This API must be used if application intends to enter low power mode after clearing WDT. It waits for write synchronization to complete as the device must not enter low power mode while write sync is in progress.
Precondition
WDT must be enabled using WDT_Enable().
Parameters
None.
Returns
None.
Example
//Application WDT_Initialize(); WDT_Enable(); while(true) { // Application Code executes here. // Clear the WDT periodically. WDT_ClearWithSync(); }
Remarks
None.