Watchdog: add missing docs doxygen

pull/11023/head
Martin Kojtal 2019-06-28 09:52:23 +01:00
parent 45b7d617bb
commit d0be8e4543
1 changed files with 11 additions and 1 deletions

View File

@ -45,6 +45,8 @@ namespace mbed {
* // Application code
* }
* @endcode
*
* @note Synchronization level: Interrupt safe
* @ingroup drivers
*/
class Watchdog : private NonCopyable<Watchdog> {
@ -65,6 +67,10 @@ public:
/** Start the watchdog timer
*
* If watchdog is already running, only callback is being updated (timeout can't be set to watchdog neither ticker).
*
* @param func Callback to be invoked after timeout
* @param timeout Ticker timeout to be kicking the watchdog
*
* @return status true if the watchdog timer was started
* successfully. assert if one of the input parameters is out of range for the current platform.
@ -105,6 +111,10 @@ public:
*/
bool is_running() const;
/** Kick watchdog
*
* This method is useful to control kicking by application
*/
void kick();
private: