cpu_wdt.h File Reference

Watchdog CPU definitions for the STM32 family. More...

Detailed Description

Watchdog CPU definitions for the STM32 family.

Author
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de
Vincent Dupont vince.nosp@m.nt@o.nosp@m.takey.nosp@m.s.co.nosp@m.m

Definition in file cpu_wdt.h.

#include "timex.h"
#include "periph/cpu_common.h"
+ Include dependency graph for cpu_wdt.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

WDT upper and lower bound times in ms

#define NWDT_TIME_LOWER_LIMIT   (1U)
 Lower bound time. More...
 
#define NWDT_TIME_UPPER_LIMIT
 Upper bound time. More...
 
#define WDT_HAS_STOP   (0U)
 Watchdog can't be stopped once enabled.
 
#define WDT_HAS_INIT   (0U)
 Whether Watchdog has an init function (only on STM32L4)
 

Macro Definition Documentation

◆ NWDT_TIME_LOWER_LIMIT

#define NWDT_TIME_LOWER_LIMIT   (1U)

Lower bound time.

Actual Lower Limit is ~100us so round up

Definition at line 39 of file cpu_wdt.h.

◆ NWDT_TIME_UPPER_LIMIT

#define NWDT_TIME_UPPER_LIMIT
Value:
(4U * US_PER_MS * 4096U * (1 << 6U) \
/ CLOCK_LSI)
#define US_PER_MS
The number of microseconds per millisecond.
Definition: time_units.h:90

Upper bound time.

Definition at line 41 of file cpu_wdt.h.