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,6 @@
/** @addtogroup dac_file DAC peripheral API
* @ingroup peripheral_apis
*/
/*
* This file is part of the libopencm3 project.
*
@@ -22,6 +25,8 @@
#include <libopencm3/efm32/dac.h>
/**@{*/
/**
* Set DAC refresh cycle
* @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;
}
/**@}*/