Add generic function to detzermine reset cuase to rcc manager
This commit is contained in:
@@ -40,11 +40,4 @@ int watchdog_setup(uint8_t prescaler);
|
||||
*/
|
||||
int watchdog_ack(uint32_t magic);
|
||||
|
||||
/**
|
||||
* @brief Check if reset was generated by the watchdog.
|
||||
* @note This also clears the relevant flag, so the function will return false when called a second time
|
||||
* @return true, if reset was generated by the watchdog
|
||||
*/
|
||||
bool watchdog_check_reset_source(void);
|
||||
|
||||
#endif /* __WATCHDOG_H__ */
|
||||
|
Reference in New Issue
Block a user