openMMC
Open Source Modular MMC for AMCs
|
Reset the uC if it fails to reload the watchdog timer. More...
#include "FreeRTOS.h"
#include "task.h"
#include "semphr.h"
#include "port.h"
#include "watchdog.h"
#include "task_priorities.h"
#include "uart_debug.h"
Functions | |
void | watchdog_init (void) |
Initializes and configures Watchdog timer. | |
void | WatchdogTask (void *Parameters) |
Periodically feed the Watchdog timer and checks if there's any Reset requests. | |
Reset the uC if it fails to reload the watchdog timer.
void watchdog_init | ( | void | ) |
Initializes and configures Watchdog timer.
void WatchdogTask | ( | void * | Parameters | ) |
Periodically feed the Watchdog timer and checks if there's any Reset requests.
Parameters | Pointer to a buffer of parameters passed to the task upon initialization |