1.2.27.4 1.3.28.4 1.4.28.4 1.5.28.4 1.9.25.4 1.29.28.4 1.32.31.4 1.38.27.4 1.39.23.4 1.40.26.4 WDT_TimeoutPeriodSet Function

C

void WDT_TimeoutPeriodSet(uint8_t TimeoutPeriod)

Summary

Set WDT Timeout Period.

Description

This function is used to set WDT Timeout Period.

Precondition

None.

Parameters

Param Description
TimeoutPeriod Timeout Period in clock cycle

Returns

None.

Example

// To set 4 second timeout period for 1KHz WDT clock source
WDT_TimeoutPeriodSet(WDT_CONFIG_PER_CYC4096_Val);

WDT_Enable();

Remarks

None.