1.29.28.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.