MicroDev
27fd60d739
implement suggested changes
...
- update the docs
- split out common `watchdog_reset`
- revert to using `None` instead of `WatchDogMode.NONE`
2023-09-24 15:23:38 +00:00
MicroDev
11cf031284
reset watchdog conditionally
2023-03-15 19:03:57 +05:30
MicroDev
5e0dce286e
update watchdog implementation for atmel-samd
2023-03-15 13:14:21 +05:30
Dan Halbert
bbe30514ef
Fix other INTENCLR and INTENSET to write whole reg
2021-12-12 22:25:44 -05:00
Jeff Epler
621953c960
Additional missing-prototypes fixes
...
I think this correctly enables missing-prototypes in atmel-samd
and raspberrypi ports.
2021-11-10 10:55:53 -06:00
Jeff Epler
43b593725b
atmel-samd: Fix converting watchdog seconds to cycles
...
It's intended that the actual timeout always be at least the requested
timeout. However, due to multiplying by the wrong factor to get from
seconds to cycles, a timeout request of e.g., 8.1s (which is less than
8.192s) would give an actual timeout of 8, not 16 as it should.
2021-11-05 11:40:08 -05:00
Jeff Epler
39795430a4
Apply suggestions from code review
...
Eliminates the "pet" function
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2021-10-19 13:25:28 -05:00
Jeff Epler
d38cf05e59
samd51: Add watchdog timer
2021-10-19 10:52:14 -05:00