Added type hints to watchdog

This commit is contained in:
dherrada 2020-07-03 11:42:07 -04:00
parent 9c842c5a67
commit 5163618d23

View File

@ -32,12 +32,12 @@
//| def __init__(self): //| def __init__(self):
//| """Enum-like class to define the run mode of the watchdog timer.""" //| """Enum-like class to define the run mode of the watchdog timer."""
//| //|
//| RAISE: Any = ... //| RAISE: watchdog.WatchDogMode = ...
//| """Raise an exception when the WatchDogTimer expires. //| """Raise an exception when the WatchDogTimer expires.
//| //|
//| :type watchdog.WatchDogMode:""" //| :type watchdog.WatchDogMode:"""
//| //|
//| RESET: Any = ... //| RESET: watchdog.WatchDogMode = ...
//| """Reset the system if the WatchDogTimer expires. //| """Reset the system if the WatchDogTimer expires.
//| //|
//| :type watchdog.WatchDogMode:""" //| :type watchdog.WatchDogMode:"""