2021-09-10 09:30:51 +00:00
|
|
|
/*
|
2023-08-29 08:16:34 +00:00
|
|
|
Copyright 2020-2023 Piotr Wilkon
|
|
|
|
|
|
2021-09-10 09:30:51 +00:00
|
|
|
This file is part of VP-Digi.
|
|
|
|
|
|
|
|
|
|
VP-Digi is free software: you can redistribute it and/or modify
|
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
|
the Free Software Foundation; either version 3 of the License, or
|
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
|
|
VP-Digi is distributed in the hope that it will be useful,
|
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
|
along with VP-Digi. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef DRIVERS_WATCHDOG_H_
|
|
|
|
|
#define DRIVERS_WATCHDOG_H_
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @brief Initialize watchdog
|
|
|
|
|
*/
|
2023-08-17 12:57:29 +00:00
|
|
|
void WdogInit(void);
|
2021-09-10 09:30:51 +00:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @brief Restart watchdog
|
|
|
|
|
* @attention Must be called continuously in main loop
|
|
|
|
|
*/
|
2023-08-17 12:57:29 +00:00
|
|
|
void WdogReset(void);
|
2021-09-10 09:30:51 +00:00
|
|
|
|
|
|
|
|
#endif /* DRIVERS_WATCHDOG_H_ */
|