libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
wwdt.h
Go to the documentation of this file.
1/** @defgroup wwdt_defines Windowed Watchdog Timer
2
3@brief <b>Defined Constants and Types for the LPC43xx Windowed Watchdog
4Timer</b>
5
6@ingroup LPC43xx_defines
7
8@version 1.0.0
9
10@author @htmlonly &copy; @endhtmlonly 2012 Michael Ossmann <mike@ossmann.com>
11
12@date 10 March 2013
13
14LGPL License Terms @ref lgpl_license
15 */
16/*
17 * This file is part of the libopencm3 project.
18 *
19 * Copyright (C) 2012 Michael Ossmann <mike@ossmann.com>
20 *
21 * This library is free software: you can redistribute it and/or modify
22 * it under the terms of the GNU Lesser General Public License as published by
23 * the Free Software Foundation, either version 3 of the License, or
24 * (at your option) any later version.
25 *
26 * This library is distributed in the hope that it will be useful,
27 * but WITHOUT ANY WARRANTY; without even the implied warranty of
28 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29 * GNU Lesser General Public License for more details.
30 *
31 * You should have received a copy of the GNU Lesser General Public License
32 * along with this library. If not, see <http://www.gnu.org/licenses/>.
33 */
34
35#ifndef LPC43XX_WWDT_H
36#define LPC43XX_WWDT_H
37
38/**@{*/
39
42
43/* --- Windowed Watchdog Timer (WWDT) registers ---------------------------- */
44
45/* Watchdog mode register */
46#define WWDT_MOD MMIO32(WWDT_BASE + 0x000)
47
48/* Watchdog timer constant register */
49#define WWDT_TC MMIO32(WWDT_BASE + 0x004)
50
51/* Watchdog feed sequence register */
52#define WWDT_FEED MMIO32(WWDT_BASE + 0x008)
53
54/* Watchdog timer value register */
55#define WWDT_TV MMIO32(WWDT_BASE + 0x00C)
56
57/* Watchdog warning interrupt register */
58#define WWDT_WARNINT MMIO32(WWDT_BASE + 0x014)
59
60/* Watchdog timer window register */
61#define WWDT_WINDOW MMIO32(WWDT_BASE + 0x018)
62
63/**@}*/
64
65#endif