tools:wdt
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tools:wdt [2024/06/10 17:08] – [Using an Watchdog through the HAL] ursgraf | tools:wdt [2024/06/10 17:24] (current) – [Using an Watchdog through the HAL] ursgraf | ||
|---|---|---|---|
| Line 10: | Line 10: | ||
| ===== Using an Watchdog through the HAL ===== | ===== Using an Watchdog through the HAL ===== | ||
| - | Some HAL libraries implement a watchdog device, e.g. [[getting_started: | + | Some HAL libraries implement a watchdog device, e.g. [[getting_started: |
| + | < | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | } | ||
| + | </ | ||
| + | Here, the watchdog timeout is set to 50ms. You have to start the timer, which is called '' | ||
| + | < | ||
| + | wdt.arm(); | ||
| + | </ | ||
| + | The watchdog block in your control system defines a peripheral input. Check for the state of this input with a critical input in your safety system, see [[getting_started: | ||
tools/wdt.1718032080.txt.gz · Last modified: 2024/06/10 17:08 by ursgraf