doc: efm32: acmp: document, and include via peripheral_apis

Requires a stub .c file as it has common includes with out any common
code (yet)
This commit is contained in:
Karl Palsson
2019-06-22 01:36:06 +00:00
parent 7a058016b5
commit 7e2cd050aa
7 changed files with 36 additions and 16 deletions

View File

@@ -1,3 +1,5 @@
/** @addtogroup acmp_defines
*/
/*
* This file is part of the libopencm3 project.
*
@@ -17,8 +19,9 @@
* along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef LIBOPENCM3_EFM32_ACMP_H
#define LIBOPENCM3_EFM32_ACMP_H
#pragma once
/**@{*/
#include <libopencm3/efm32/memorymap.h>
#include <libopencm3/cm3/common.h>
@@ -181,5 +184,4 @@
#define ACMP1_IFC ACMP_IFC(ACMP1)
#define ACMP1_ROUTE ACMP_ROUTE(ACMP1)
#endif
/**@}*/

View File

@@ -1,3 +1,11 @@
/** @defgroup acmp_defines ACMP Defines
*
* @brief <b>Defined Constants and Types for the Analog Comparator module</b>
*
* @ingroup EZR32WG_defines
*
* LGPL License Terms @ref lgpl_license
*/
/*
* This file is part of the libopencm3 project.
*
@@ -17,9 +25,6 @@
* along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef LIBOPENCM3_EFM32_EZR32WG_ACMP_H
#define LIBOPENCM3_EFM32_EZR32WG_ACMP_H
#pragma once
#include <libopencm3/efm32/common/acmp_common.h>
#endif

View File

@@ -1,3 +1,11 @@
/** @defgroup acmp_defines ACMP Defines
*
* @brief <b>Defined Constants and Types for the Analog Comparator module</b>
*
* @ingroup EFM32LG_defines
*
* LGPL License Terms @ref lgpl_license
*/
/*
* This file is part of the libopencm3 project.
*
@@ -17,9 +25,6 @@
* along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef LIBOPENCM3_EFM32_LG_ACMP_H
#define LIBOPENCM3_EFM32_LG_ACMP_H
#pragma once
#include <libopencm3/efm32/common/acmp_common.h>
#endif

View File

@@ -1,3 +1,11 @@
/** @defgroup acmp_defines ACMP Defines
*
* @brief <b>Defined Constants and Types for the Analog Comparator module</b>
*
* @ingroup EFM32WG_defines
*
* LGPL License Terms @ref lgpl_license
*/
/*
* This file is part of the libopencm3 project.
*
@@ -17,9 +25,6 @@
* along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef LIBOPENCM3_EFM32_WG_ACMP_H
#define LIBOPENCM3_EFM32_WG_ACMP_H
#pragma once
#include <libopencm3/efm32/common/acmp_common.h>
#endif