openMMC
Open Source Modular MMC for AMCs
Loading...
Searching...
No Matches
watchdog.c File Reference

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"
Include dependency graph for watchdog.c:

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.
 

Detailed Description

Reset the uC if it fails to reload the watchdog timer.

Author
Henrique Silva henri.nosp@m.que..nosp@m.silva.nosp@m.@lnl.nosp@m.s.br, LNLS

Function Documentation

◆ watchdog_init()

void watchdog_init ( void )

Initializes and configures Watchdog timer.

Returns
None

◆ WatchdogTask()

void WatchdogTask ( void * Parameters)

Periodically feed the Watchdog timer and checks if there's any Reset requests.

Parameters
ParametersPointer to a buffer of parameters passed to the task upon initialization
Returns
None