- Add a fail-safe watchdog using a Zephyr kernel timer. - The timer is reset on any successful Modbus communication. - If the timer expires (no communication within the configured timeout), the valve is automatically closed as a safety measure. - The watchdog is enabled by writing a non-zero value to the `WATCHDOG_TIMEOUT_S` register and disabled by writing 0. |
||
|---|---|---|
| .. | ||
| boards | ||
| src | ||
| CMakeLists.txt | ||
| prj.conf | ||