Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
cpu_wdt.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2016 Freie Universität Berlin
3
* 2017 OTA keys S.A.
4
*
5
* This file is subject to the terms and conditions of the GNU Lesser
6
* General Public License v2.1. See the file LICENSE in the top level
7
* directory for more details.
8
*/
9
21
#ifndef PERIPH_CPU_WDT_H
22
#define PERIPH_CPU_WDT_H
23
24
#include "
timex.h
"
25
#include "
periph/cpu_common.h
"
26
27
#ifdef __cplusplus
28
extern
"C"
{
29
#endif
30
39
#define NWDT_TIME_LOWER_LIMIT (1U)
41
#define NWDT_TIME_UPPER_LIMIT (4U * US_PER_MS * 4096U * (1 << 6U) \
42
/ CLOCK_LSI)
43
#define WDT_HAS_STOP (0U)
45
#if defined(CPU_FAM_STM32L4)
46
#define WDT_HAS_INIT (1U)
47
#else
48
#define WDT_HAS_INIT (0U)
49
#endif
52
#ifdef __cplusplus
53
}
54
#endif
55
56
#endif
/* PERIPH_CPU_WDT_H */
cpu_common.h
Common CPU definitions for the STM32 family.
timex.h
Utility library for comparing and computing timestamps.
Generated on Fri Nov 15 2024 22:46:36 by
1.9.8