doc: stm32: move RCC to peripheral api style

For f7, it was completely missing doc markers
This commit is contained in:
Karl Palsson
2019-06-10 12:53:14 +00:00
committed by Karl Palsson
parent b4b2a2101c
commit c9d45e0e2c
10 changed files with 32 additions and 16 deletions

View File

@@ -1,8 +1,19 @@
/** @defgroup rcc_file RCC Peripheral API
*
* @ingroup peripheral_apis
* This library supports the Reset and Clock Control System in the STM32 series
* of ARM Cortex Microcontrollers by ST Microelectronics.
*
* LGPL License Terms @ref lgpl_license
*/
#include <libopencm3/cm3/assert.h>
#include <libopencm3/stm32/rcc.h>
#include <libopencm3/stm32/pwr.h>
#include <libopencm3/stm32/flash.h>
/**@{*/
uint32_t rcc_ahb_frequency = 16000000;
uint32_t rcc_apb1_frequency = 16000000;
uint32_t rcc_apb2_frequency = 16000000;
@@ -472,3 +483,5 @@ void rcc_clock_setup_hsi(const struct rcc_clock_scale *clock)
rcc_apb1_frequency = clock->apb1_frequency;
rcc_apb2_frequency = clock->apb2_frequency;
}
/**@}*/