Browse Source

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)
pull/1074/head
Karl Palsson 5 years ago
parent
commit
7e2cd050aa
  1. 10
      include/libopencm3/efm32/common/acmp_common.h
  2. 13
      include/libopencm3/efm32/ezr32wg/acmp.h
  3. 13
      include/libopencm3/efm32/lg/acmp.h
  4. 13
      include/libopencm3/efm32/wg/acmp.h
  5. 1
      lib/efm32/ezr32wg/Makefile
  6. 1
      lib/efm32/lg/Makefile
  7. 1
      lib/efm32/wg/Makefile

10
include/libopencm3/efm32/common/acmp_common.h

@ -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
/**@}*/

13
include/libopencm3/efm32/ezr32wg/acmp.h

@ -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

13
include/libopencm3/efm32/lg/acmp.h

@ -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

13
include/libopencm3/efm32/wg/acmp.h

@ -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

1
lib/efm32/ezr32wg/Makefile

@ -37,6 +37,7 @@ TGT_CFLAGS += $(DEBUG_FLAGS)
# ARFLAGS = rcsv
ARFLAGS = rcs
OBJS += acmp_common.o
OBJS += adc_common.o
OBJS += cmu_common.o
OBJS += dac_common.o

1
lib/efm32/lg/Makefile

@ -37,6 +37,7 @@ TGT_CFLAGS += $(STANDARD_FLAGS)
# ARFLAGS = rcsv
ARFLAGS = rcs
OBJS += acmp_common.o
OBJS += adc_common.o
OBJS += cmu_common.o
OBJS += dac_common.o

1
lib/efm32/wg/Makefile

@ -37,6 +37,7 @@ TGT_CFLAGS += $(DEBUG_FLAGS)
# ARFLAGS = rcsv
ARFLAGS = rcs
OBJS += acmp_common.o
OBJS += adc_common.o
OBJS += cmu_common.o
OBJS += dac_common.o

Loading…
Cancel
Save