doc: efm32: dac: enable peripheral_apis documentation
This commit is contained in:
@@ -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
|
|
||||||
|
|||||||
@@ -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
|
|
||||||
|
|||||||
@@ -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
|
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**@}*/
|
||||||
Reference in New Issue
Block a user