From 35c0863a75c41f900514bb4dfbc654544723577a Mon Sep 17 00:00:00 2001 From: Ken Sarkies Date: Mon, 12 Nov 2012 21:44:52 +1030 Subject: Documentation updates --- include/libopencm3/stm32/l1/doc-stm32l1.h | 32 +++++++++++++++++++++++++++++++ include/libopencm3/stm32/l1/rcc.h | 18 +++++++---------- include/libopencm3/stm32/pwr.h | 2 +- 3 files changed, 40 insertions(+), 12 deletions(-) create mode 100644 include/libopencm3/stm32/l1/doc-stm32l1.h (limited to 'include/libopencm3/stm32') diff --git a/include/libopencm3/stm32/l1/doc-stm32l1.h b/include/libopencm3/stm32/l1/doc-stm32l1.h new file mode 100644 index 0000000..96bea00 --- /dev/null +++ b/include/libopencm3/stm32/l1/doc-stm32l1.h @@ -0,0 +1,32 @@ +/** @mainpage libopencm3 STM32L1 + +@version 1.0.0 + +@date 12 November 2012 + +API documentation for ST Microelectronics STM32L1 Cortex M3 series. + +LGPL License Terms @ref lgpl_license +*/ + +/** @defgroup STM32L1xx STM32L1xx +Libraries for ST Microelectronics STM32L1xx series. + +@version 1.0.0 + +@date 12 November 2012 + +LGPL License Terms @ref lgpl_license +*/ + +/** @defgroup STM32L1xx_defines STM32L1xx Defines + +@brief Defined Constants and Types for the STM32L1xx series + +@version 1.0.0 + +@date 12 November 2012 + +LGPL License Terms @ref lgpl_license +*/ + diff --git a/include/libopencm3/stm32/l1/rcc.h b/include/libopencm3/stm32/l1/rcc.h index 209d24f..d888d7c 100644 --- a/include/libopencm3/stm32/l1/rcc.h +++ b/include/libopencm3/stm32/l1/rcc.h @@ -1,6 +1,6 @@ -/** @file +/** @defgroup STM32L1xx_rcc_defines RCC Defines -@ingroup STM32L1xx +@ingroup STM32L1xx_defines @brief libopencm3 STM32L1xx Reset and Clock Control @@ -10,19 +10,11 @@ @author @htmlonly © @endhtmlonly 2009 Uwe Hermann @author @htmlonly © @endhtmlonly 2012 Karl Palsson -@date 18 May 2012 +@date 11 November 2012 LGPL License Terms @ref lgpl_license */ -/** @defgroup STM32L1xx_rcc_defines - -@brief Defined Constants and Types for the STM32L1xx Reset and Clock Control -@ingroup STM32L1xx_defines - -LGPL License Terms @ref lgpl_license - - */ /* * This file is part of the libopencm3 project. * @@ -47,6 +39,8 @@ LGPL License Terms @ref lgpl_license * TODO: very incomplete still! */ +/**@{*/ + #ifndef LIBOPENCM3_RCC_H #define LIBOPENCM3_RCC_H @@ -405,4 +399,6 @@ void rcc_clock_setup_in_hse_12mhz_out_72mhz(void); void rcc_clock_setup_in_hse_16mhz_out_72mhz(void); void rcc_backupdomain_reset(void); +/**@}*/ + #endif diff --git a/include/libopencm3/stm32/pwr.h b/include/libopencm3/stm32/pwr.h index e709f3d..34b2407 100644 --- a/include/libopencm3/stm32/pwr.h +++ b/include/libopencm3/stm32/pwr.h @@ -1,4 +1,4 @@ -/** @defgroup STM32F1xx_pwr_defines PWR Defines +/** @defgroup STM32F_pwr_defines PWR Defines @ingroup STM32F_defines -- cgit v1.2.3