doc: efm32: wdog: enable documentation via peripheral_apis
This commit is contained in:
parent
093edfb881
commit
35657bdb61
@ -1,3 +1,5 @@
|
|||||||
|
/** @addtogroup wdog_defines
|
||||||
|
*/
|
||||||
/*
|
/*
|
||||||
* This file is part of the libopencm3 project.
|
* This file is part of the libopencm3 project.
|
||||||
*
|
*
|
||||||
@ -17,12 +19,13 @@
|
|||||||
* along with this library. If not, see <http://www.gnu.org/licenses/>.
|
* along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef LIBOPENCM3_EFM32_WDOG_H
|
#pragma once
|
||||||
#define LIBOPENCM3_EFM32_WDOG_H
|
|
||||||
|
|
||||||
#include <libopencm3/efm32/memorymap.h>
|
#include <libopencm3/efm32/memorymap.h>
|
||||||
#include <libopencm3/cm3/common.h>
|
#include <libopencm3/cm3/common.h>
|
||||||
|
|
||||||
|
/**@{*/
|
||||||
|
|
||||||
#define WDOG_CTRL MMIO32(WDOG_BASE + 0x000)
|
#define WDOG_CTRL MMIO32(WDOG_BASE + 0x000)
|
||||||
#define WDOG_CMD MMIO32(WDOG_BASE + 0x004)
|
#define WDOG_CMD MMIO32(WDOG_BASE + 0x004)
|
||||||
#define WDOG_SYNCBUSY MMIO32(WDOG_BASE + 0x008)
|
#define WDOG_SYNCBUSY MMIO32(WDOG_BASE + 0x008)
|
||||||
@ -72,5 +75,4 @@
|
|||||||
#define WDOG_SYNCBUSY_CMD (1 << 1)
|
#define WDOG_SYNCBUSY_CMD (1 << 1)
|
||||||
#define WDOG_SYNCBUSY_CTRL (1 << 0)
|
#define WDOG_SYNCBUSY_CTRL (1 << 0)
|
||||||
|
|
||||||
#endif
|
/**@}*/
|
||||||
|
|
@ -1,3 +1,5 @@
|
|||||||
|
/** @addtogroup wdog_defines
|
||||||
|
*/
|
||||||
/*
|
/*
|
||||||
* This file is part of the libopencm3 project.
|
* This file is part of the libopencm3 project.
|
||||||
*
|
*
|
||||||
@ -17,15 +19,13 @@
|
|||||||
* along with this library. If not, see <http://www.gnu.org/licenses/>.
|
* along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/** @cond */
|
#pragma once
|
||||||
#if defined(LIBOPENCM3_WDOG_H)
|
|
||||||
/** @endcond */
|
|
||||||
#ifndef LIBOPENCM3_EFM32_WDOG_COMMON_HGLG_H
|
|
||||||
#define LIBOPENCM3_EFM32_WDOG_COMMON_HGLG_H
|
|
||||||
|
|
||||||
#include <libopencm3/efm32/memorymap.h>
|
#include <libopencm3/efm32/memorymap.h>
|
||||||
#include <libopencm3/cm3/common.h>
|
#include <libopencm3/cm3/common.h>
|
||||||
|
|
||||||
|
/**@{*/
|
||||||
|
|
||||||
#define WDOG_CTRL MMIO32(WDOG_BASE + 0x000)
|
#define WDOG_CTRL MMIO32(WDOG_BASE + 0x000)
|
||||||
#define WDOG_CMD MMIO32(WDOG_BASE + 0x004)
|
#define WDOG_CMD MMIO32(WDOG_BASE + 0x004)
|
||||||
#define WDOG_SYNCBUSY MMIO32(WDOG_BASE + 0x008)
|
#define WDOG_SYNCBUSY MMIO32(WDOG_BASE + 0x008)
|
||||||
@ -75,9 +75,4 @@
|
|||||||
#define WDOG_SYNCBUSY_CMD (1 << 1)
|
#define WDOG_SYNCBUSY_CMD (1 << 1)
|
||||||
#define WDOG_SYNCBUSY_CTRL (1 << 0)
|
#define WDOG_SYNCBUSY_CTRL (1 << 0)
|
||||||
|
|
||||||
#endif
|
/**@}*/
|
||||||
/** @cond */
|
|
||||||
#else
|
|
||||||
#warning "wdog_common_hglg.h should not be included explicitly, only via wdog.h"
|
|
||||||
#endif
|
|
||||||
/** @endcond */
|
|
@ -1,3 +1,11 @@
|
|||||||
|
/** @defgroup wdog_defines WDOG Defines
|
||||||
|
*
|
||||||
|
* @brief <b>Defined Constants and Types for the Watchdog module</b>
|
||||||
|
*
|
||||||
|
* @ingroup EZR32WG_defines
|
||||||
|
*
|
||||||
|
* LGPL License Terms @ref lgpl_license
|
||||||
|
*/
|
||||||
/*
|
/*
|
||||||
* This file is part of the libopencm3 project.
|
* This file is part of the libopencm3 project.
|
||||||
*
|
*
|
||||||
@ -17,9 +25,6 @@
|
|||||||
* along with this library. If not, see <http://www.gnu.org/licenses/>.
|
* along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef LIBOPENCM3_EFM32_EZR32WG_WDOG_H
|
#pragma once
|
||||||
#define LIBOPENCM3_EFM32_EZR32WG_WDOG_H
|
|
||||||
|
|
||||||
#include <libopencm3/efm32/common/wdog_common.h>
|
#include <libopencm3/efm32/common/wdog_common.h>
|
||||||
|
|
||||||
#endif
|
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
/** @defgroup wdog_defines WDOG Defines
|
||||||
|
*
|
||||||
|
* @brief <b>Defined Constants and Types for the Watchdog module</b>
|
||||||
|
*
|
||||||
|
* @ingroup EFM32HG_defines
|
||||||
|
*
|
||||||
|
* LGPL License Terms @ref lgpl_license
|
||||||
|
*/
|
||||||
/*
|
/*
|
||||||
* This file is part of the libopencm3 project.
|
* This file is part of the libopencm3 project.
|
||||||
*
|
*
|
||||||
@ -15,9 +23,6 @@
|
|||||||
* along with this library. If not, see <http://www.gnu.org/licenses/>.
|
* along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef LIBOPENCM3_WDOG_H
|
#pragma once
|
||||||
#define LIBOPENCM3_WDOG_H
|
|
||||||
|
|
||||||
#include <libopencm3/efm32/common/wdog_common_hglg.h>
|
#include <libopencm3/efm32/common/wdog_common_hglg.h>
|
||||||
|
|
||||||
#endif
|
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
/** @defgroup wdog_defines WDOG Defines
|
||||||
|
*
|
||||||
|
* @brief <b>Defined Constants and Types for the Watchdog module</b>
|
||||||
|
*
|
||||||
|
* @ingroup EFM32LG_defines
|
||||||
|
*
|
||||||
|
* LGPL License Terms @ref lgpl_license
|
||||||
|
*/
|
||||||
/*
|
/*
|
||||||
* This file is part of the libopencm3 project.
|
* This file is part of the libopencm3 project.
|
||||||
*
|
*
|
||||||
@ -15,9 +23,6 @@
|
|||||||
* along with this library. If not, see <http://www.gnu.org/licenses/>.
|
* along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef LIBOPENCM3_WDOG_H
|
#pragma once
|
||||||
#define LIBOPENCM3_WDOG_H
|
|
||||||
|
|
||||||
#include <libopencm3/efm32/common/wdog_common.h>
|
#include <libopencm3/efm32/common/wdog_common.h>
|
||||||
|
|
||||||
#endif
|
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
/** @defgroup wdog_defines WDOG Defines
|
||||||
|
*
|
||||||
|
* @brief <b>Defined Constants and Types for the Watchdog module</b>
|
||||||
|
*
|
||||||
|
* @ingroup EFM32WG_defines
|
||||||
|
*
|
||||||
|
* LGPL License Terms @ref lgpl_license
|
||||||
|
*/
|
||||||
/*
|
/*
|
||||||
* This file is part of the libopencm3 project.
|
* This file is part of the libopencm3 project.
|
||||||
*
|
*
|
||||||
@ -17,9 +25,6 @@
|
|||||||
* along with this library. If not, see <http://www.gnu.org/licenses/>.
|
* along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef LIBOPENCM3_EFM32_WG_WDOG_H
|
#pragma once
|
||||||
#define LIBOPENCM3_EFM32_WG_WDOG_H
|
|
||||||
|
|
||||||
#include <libopencm3/efm32/common/wdog_common.h>
|
#include <libopencm3/efm32/common/wdog_common.h>
|
||||||
|
|
||||||
#endif
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user