KM3NeT CLB  2.0
KM3NeT CLB v2 Embedded Software
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
watchdog.h File Reference

Watchdog driver. More...

#include <stdint.h>
#include "lm32soc/dev_soc.h"

Go to the source code of this file.

Functions

static void wdogFeed ()
 Feed the watchdog.
 
static void wdogReboot ()
 Reboot the FPGA (hard)
 
static void wdogSetTopCount (uint16_t counterValue)
 Set the watchdog top-counter in seconds. More...
 

Detailed Description

Watchdog driver.

Definition in file watchdog.h.

Function Documentation

static void wdogSetTopCount ( uint16_t  counterValue)
inlinestatic

Set the watchdog top-counter in seconds.

Parameters
counterValueThe counter value to set.

Definition at line 50 of file watchdog.h.