doc: efm32: dac: enable peripheral_apis documentation

This commit is contained in:
Karl Palsson
2019-06-22 01:03:29 +00:00
parent 35657bdb61
commit c8b8285446
4 changed files with 34 additions and 12 deletions

View File

@@ -1,3 +1,11 @@
/** @defgroup dac_defines DAC Defines
*
* @brief <b>Defined Constants and Types for the D/A Converter 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_DAC_H #pragma once
#define LIBOPENCM3_EFM32_EZR32WG_DAC_H
#include <libopencm3/efm32/common/dac_common.h> #include <libopencm3/efm32/common/dac_common.h>
#endif

View File

@@ -1,3 +1,11 @@
/** @defgroup dac_defines DAC Defines
*
* @brief <b>Defined Constants and Types for the D/A Converter 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_DAC_H #pragma once
#define LIBOPENCM3_EFM32_LG_DAC_H
#include <libopencm3/efm32/common/dac_common.h> #include <libopencm3/efm32/common/dac_common.h>
#endif

View File

@@ -1,3 +1,11 @@
/** @defgroup dac_defines DAC Defines
*
* @brief <b>Defined Constants and Types for the D/A Converter 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_DAC_H #pragma once
#define LIBOPENCM3_EFM32_WG_DAC_H
#include <libopencm3/efm32/common/dac_common.h> #include <libopencm3/efm32/common/dac_common.h>
#endif

View File

@@ -1,3 +1,6 @@
/** @addtogroup dac_file DAC peripheral API
* @ingroup peripheral_apis
*/
/* /*
* This file is part of the libopencm3 project. * This file is part of the libopencm3 project.
* *
@@ -22,6 +25,8 @@
#include <libopencm3/efm32/dac.h> #include <libopencm3/efm32/dac.h>
/**@{*/
/** /**
* Set DAC refresh cycle * Set DAC refresh cycle
* @param[in] dac DAC (use DACx) * @param[in] dac DAC (use DACx)
@@ -166,3 +171,5 @@ void dac_disable_channel(uint32_t dac, enum dac_ch ch)
{ {
DAC_CHx_CTRL(dac, ch) &= ~DAC_CH_CTRL_REFREN; DAC_CHx_CTRL(dac, ch) &= ~DAC_CH_CTRL_REFREN;
} }
/**@}*/