stm32: crs: fix doxygen

We need per device header includes to make the per target documentation
generation work properly.  The dispatch headers are to dispatch to the
_target_ not directly to the final implementation, remember, the final
required headers for each may be multiple files, plus extra definitions!
This commit is contained in:
Karl Palsson
2020-12-01 23:13:38 +00:00
parent 98855377c6
commit f82053000c
7 changed files with 59 additions and 15 deletions

View File

@@ -1,8 +1,7 @@
/** @defgroup crs_file CRS
/** @addtogroup crs_file CRS peripheral API
* @ingroup peripheral_apis
*
* @ingroup STM32xx
*
* @brief <b>libopencm3 STM32 Clock Recovery Subsystem</b>
* @brief <b>(USB) STM32 Clock Recovery Subsystem</b>
*
* @version 1.0.0
*
@@ -27,6 +26,8 @@
* You should have received a copy of the GNU Lesser General Public License
* along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
/**@{*/
#include <libopencm3/stm32/crs.h>
#include <libopencm3/stm32/rcc.h>
@@ -46,3 +47,4 @@ void crs_autotrim_usb_enable(void)
CRS_CR |= CRS_CR_CEN;
}
/**@}*/