MBSP

Microcontroller Board Support Package

User Tools

Site Tools


watchdog_group

Table of Contents

watchdog group

This group contains all active watchdogs.

Each watchdog is a sub group with the watchdog name as the group name.

    "watchdog": {
        "timeout_watchdog": {
            "type": "timeout"
            "timeout": "100ms"
        }
    }

type

defines what type of watchdog. Type can be:

  • timeout (must be feed before deadline)
  • window (must be feed within the time window.
  • software (no peripheral used)
  • external (watchdog device connected to output pin and reset pin)

type: enum

default: timeout

timeout

defines the deadline for a timeout watchdog

type: string

default: 100ms

API

The part “watchdog name” in the described functions will be replaced by the name of the watchdog. E.g. if your watchdog is called “window_watchdog” then the API function “void watchdog_name_feed(void)” will become “void window_watchdog_feed(void)”.

void watchdog_name_feed(void)
watchdog_group.txt · Last modified: by lars