Skip to content

Commit 8ab645e

Browse files
authored
Merge pull request #1155 from fkjagodzinski/docs_update-watchdog_clock
Update the watchdog timing requirements
2 parents 6e0a63d + 325d929 commit 8ab645e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/porting/target/Watchdog.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@ Implement the ResetReason API when implementing the Watchdog API. The ResetReaso
1111
- Sleep and debug modes don't stop the watchdog timer from counting down.
1212
- The function `hal_watchdog_init` is safe to call repeatedly. The function's implementation must not do anything if `hal_watchdog_init` has already initialized the hardware watchdog timer.
1313
- `UINT32_MAX` milliseconds is the maximum allowed max_timeout `hal_watchdog_get_platform_features()` returns; minimum timeout is 1 ms.
14-
- The watchdog should trigger at or after the timeout value.
14+
- The uncalibrated watchdog should trigger at or after the timeout value multiplied by the frequency accuracy ratio of its oscillator (typical_frequency divided by max_frequency).
15+
- The calibrated watchdog should trigger at or after the timeout value.
1516
- The watchdog should trigger before twice the timeout value.
17+
- The watchdog may trigger as late as twice the timeout value in deep sleep mode.
1618

1719
### Undefined behavior
1820

0 commit comments

Comments
 (0)