PER Firmware
Loading...
Searching...
No Matches
watchdog.c File Reference

Basic watchdog implementation. More...

#include "watchdog.h"
Include dependency graph for watchdog.c:

Functions

void WDG_init (void)
 
void WDG_pet (void)
 
uint32_t WDG_get_CSR (void)
 
bool was_reset_by_WDG (void)
 

Variables

volatile uint32_t saved_CSR = 0
 

Detailed Description

Basic watchdog implementation.

Author
Irving Wang (irvin.nosp@m.gw@p.nosp@m.urdue.nosp@m..edu)

Function Documentation

◆ was_reset_by_WDG()

bool was_reset_by_WDG ( void )
Here is the caller graph for this function:

◆ WDG_get_CSR()

uint32_t WDG_get_CSR ( void )
Here is the caller graph for this function:

◆ WDG_init()

void WDG_init ( void )
Here is the caller graph for this function:

◆ WDG_pet()

void WDG_pet ( void )

Variable Documentation

◆ saved_CSR

volatile uint32_t saved_CSR = 0