[riot-notifications] [RIOT-OS/RIOT] drivers/include: add header definition for wdt (#11527)

Francisco notifications at github.com
Mon May 27 11:14:24 CEST 2019

@kaspar030 @benpicco I still think having `cb_time` is more flexible and would define the callback behavior better for samd. In the case of stm32 it can't be specified in `us`, the actual time will depend on the prescaler and reload value set for the WDT counter. 

If you are okay with having a DEBUG message stating this behavior and overruling `WDT_WARNING_PERIOD` and a conflicting future for `wdt_windowed` and `wdt_callback`. then a define would be ok (although not ideal). I'm not going to block this because of that (specially since I didn't actually implement the callback part yet). If you both agree with a define for  `WDT_WARNING_PERIOD` then I can push those changes so we can move ahead.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190527/aadf6ed1/attachment.html>

More information about the notifications mailing list