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:
parent
7a058016b5
commit
7e2cd050aa
@ -1,3 +1,5 @@
|
|||||||
|
/** @addtogroup acmp_defines
|
||||||
|
*/
|
||||||
/*
|
/*
|
||||||
* This file is part of the libopencm3 project.
|
* This file is part of the libopencm3 project.
|
||||||
*
|
*
|
||||||
@ -17,8 +19,9 @@
|
|||||||
* 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_ACMP_H
|
#pragma once
|
||||||
#define LIBOPENCM3_EFM32_ACMP_H
|
|
||||||
|
/**@{*/
|
||||||
|
|
||||||
#include <libopencm3/efm32/memorymap.h>
|
#include <libopencm3/efm32/memorymap.h>
|
||||||
#include <libopencm3/cm3/common.h>
|
#include <libopencm3/cm3/common.h>
|
||||||
@ -181,5 +184,4 @@
|
|||||||
#define ACMP1_IFC ACMP_IFC(ACMP1)
|
#define ACMP1_IFC ACMP_IFC(ACMP1)
|
||||||
#define ACMP1_ROUTE ACMP_ROUTE(ACMP1)
|
#define ACMP1_ROUTE ACMP_ROUTE(ACMP1)
|
||||||
|
|
||||||
#endif
|
/**@}*/
|
||||||
|
|
@ -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.
|
* 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_ACMP_H
|
#pragma once
|
||||||
#define LIBOPENCM3_EFM32_EZR32WG_ACMP_H
|
|
||||||
|
|
||||||
#include <libopencm3/efm32/common/acmp_common.h>
|
#include <libopencm3/efm32/common/acmp_common.h>
|
||||||
|
|
||||||
#endif
|
|
||||||
|
@ -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.
|
* 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_LG_ACMP_H
|
#pragma once
|
||||||
#define LIBOPENCM3_EFM32_LG_ACMP_H
|
|
||||||
|
|
||||||
#include <libopencm3/efm32/common/acmp_common.h>
|
#include <libopencm3/efm32/common/acmp_common.h>
|
||||||
|
|
||||||
#endif
|
|
||||||
|
@ -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.
|
* 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_ACMP_H
|
#pragma once
|
||||||
#define LIBOPENCM3_EFM32_WG_ACMP_H
|
|
||||||
|
|
||||||
#include <libopencm3/efm32/common/acmp_common.h>
|
#include <libopencm3/efm32/common/acmp_common.h>
|
||||||
|
|
||||||
#endif
|
|
||||||
|
@ -37,6 +37,7 @@ TGT_CFLAGS += $(DEBUG_FLAGS)
|
|||||||
# ARFLAGS = rcsv
|
# ARFLAGS = rcsv
|
||||||
ARFLAGS = rcs
|
ARFLAGS = rcs
|
||||||
|
|
||||||
|
OBJS += acmp_common.o
|
||||||
OBJS += adc_common.o
|
OBJS += adc_common.o
|
||||||
OBJS += cmu_common.o
|
OBJS += cmu_common.o
|
||||||
OBJS += dac_common.o
|
OBJS += dac_common.o
|
||||||
|
@ -37,6 +37,7 @@ TGT_CFLAGS += $(STANDARD_FLAGS)
|
|||||||
# ARFLAGS = rcsv
|
# ARFLAGS = rcsv
|
||||||
ARFLAGS = rcs
|
ARFLAGS = rcs
|
||||||
|
|
||||||
|
OBJS += acmp_common.o
|
||||||
OBJS += adc_common.o
|
OBJS += adc_common.o
|
||||||
OBJS += cmu_common.o
|
OBJS += cmu_common.o
|
||||||
OBJS += dac_common.o
|
OBJS += dac_common.o
|
||||||
|
@ -37,6 +37,7 @@ TGT_CFLAGS += $(DEBUG_FLAGS)
|
|||||||
# ARFLAGS = rcsv
|
# ARFLAGS = rcsv
|
||||||
ARFLAGS = rcs
|
ARFLAGS = rcs
|
||||||
|
|
||||||
|
OBJS += acmp_common.o
|
||||||
OBJS += adc_common.o
|
OBJS += adc_common.o
|
||||||
OBJS += cmu_common.o
|
OBJS += cmu_common.o
|
||||||
OBJS += dac_common.o
|
OBJS += dac_common.o
|
||||||
|
Loading…
x
Reference in New Issue
Block a user