Open
Description
Hello,
i have a intentional deadlock, that is resolved by the watchdog of the arduino. The deadlock occurs, because i want my arduino to restart, if my host computer crashes (happens quite frequently...). The watchtog restarts the board, but i also need to keep some variables accross this restart. I could resolve my issue, if i could set the watchdog to interrupt-mode, as that would tell it to not restart the board and give me time to do something about it, but i have not found a way to do that.
Is this possible with this crate?
If yes, it would be very cool, if you could hint me in the right direction!
If not, see this as a friendly feature request.
Regards, Jonas
Edit: This is the atmega doc on setting watchdog to interrupt mode (page 65)