cpu/stm32: fix doxygen grouping warnings

Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
This commit is contained in:
Jean-Pierre De Jesus DIAZ 2021-09-05 20:39:15 +02:00
parent 1759014134
commit 9d1cff3b55
9 changed files with 12 additions and 5 deletions

View File

@ -11,8 +11,7 @@
* *
* *
* @author Vincent Dupont <vincent@otakeys.com> * @author Vincent Dupont <vincent@otakeys.com>
* * @{
* @}
*/ */
#ifndef CLK_CONF_H #ifndef CLK_CONF_H
@ -26,7 +25,7 @@ extern "C" {
/** /**
* @name STM32 families * @name STM32 families
* @ { * @{
*/ */
enum fam { enum fam {
STM32F0, STM32F0,
@ -115,7 +114,6 @@ enum {
MODEL_MP_MAX, MODEL_MP_MAX,
}; };
/** @} */ /** @} */
/** /**
@ -631,7 +629,7 @@ static const clk_cfg_t stm32_f_clk_cfg[] = {
}, },
}; };
/** /**
* @brief Clock config for supported cpu * @brief Clock config for supported cpu
*/ */
static const clk_cfg_t stm32_mp_clk_cfg[] = { static const clk_cfg_t stm32_mp_clk_cfg[] = {
@ -658,3 +656,4 @@ static const clk_cfg_t stm32_mp_clk_cfg[] = {
#endif #endif
#endif /* CLK_CONF_H */ #endif /* CLK_CONF_H */
/** @} */

View File

@ -40,6 +40,7 @@ extern "C" {
#define CONFIG_USE_CLOCK_PLL 1 /* Use PLL by default */ #define CONFIG_USE_CLOCK_PLL 1 /* Use PLL by default */
#endif #endif
#endif /* CONFIG_USE_CLOCK_PLL */ #endif /* CONFIG_USE_CLOCK_PLL */
/** @} */
#if IS_ACTIVE(CONFIG_USE_CLOCK_PLL) && \ #if IS_ACTIVE(CONFIG_USE_CLOCK_PLL) && \
(IS_ACTIVE(CONFIG_USE_CLOCK_MSI) || IS_ACTIVE(CONFIG_USE_CLOCK_HSE) || \ (IS_ACTIVE(CONFIG_USE_CLOCK_MSI) || IS_ACTIVE(CONFIG_USE_CLOCK_HSE) || \

View File

@ -75,6 +75,7 @@ extern "C" {
/** /**
* @name Clock bus settings (APB1 and APB2) * @name Clock bus settings (APB1 and APB2)
* @{
*/ */
#ifndef CONFIG_CLOCK_APB1_DIV #ifndef CONFIG_CLOCK_APB1_DIV
#define CONFIG_CLOCK_APB1_DIV (2) /* max 50MHz */ #define CONFIG_CLOCK_APB1_DIV (2) /* max 50MHz */

View File

@ -53,6 +53,7 @@ extern "C" {
/** /**
* @name Clock bus settings (APB1 and APB2) * @name Clock bus settings (APB1 and APB2)
* @{
*/ */
#ifndef CONFIG_CLOCK_APB1_DIV #ifndef CONFIG_CLOCK_APB1_DIV
#define CONFIG_CLOCK_APB1_DIV (4) /* max 30MHz */ #define CONFIG_CLOCK_APB1_DIV (4) /* max 30MHz */

View File

@ -87,6 +87,7 @@ extern "C" {
/** /**
* @name Clock bus settings (APB1 and APB2) * @name Clock bus settings (APB1 and APB2)
* @{
*/ */
#ifndef CONFIG_CLOCK_APB1_DIV #ifndef CONFIG_CLOCK_APB1_DIV
#define CONFIG_CLOCK_APB1_DIV (4) /* max 45MHz */ #define CONFIG_CLOCK_APB1_DIV (4) /* max 45MHz */

View File

@ -62,6 +62,7 @@ extern "C" {
/** /**
* @name Clock bus settings (APB1 and APB2) * @name Clock bus settings (APB1 and APB2)
* @{
*/ */
#ifndef CONFIG_CLOCK_APB1_DIV #ifndef CONFIG_CLOCK_APB1_DIV
#define CONFIG_CLOCK_APB1_DIV (4) /* max 54MHz */ #define CONFIG_CLOCK_APB1_DIV (4) /* max 54MHz */

View File

@ -62,6 +62,7 @@ extern "C" {
/** /**
* @name Clock bus settings (APB1 and APB2) * @name Clock bus settings (APB1 and APB2)
* @{
*/ */
#ifndef CONFIG_CLOCK_APB1_DIV #ifndef CONFIG_CLOCK_APB1_DIV
#define CONFIG_CLOCK_APB1_DIV (2) /* max 42MHz */ #define CONFIG_CLOCK_APB1_DIV (2) /* max 42MHz */

View File

@ -175,6 +175,7 @@ extern "C" {
#define CONFIG_CLOCK_APB2_DIV (2) #define CONFIG_CLOCK_APB2_DIV (2)
#endif #endif
#define CLOCK_APB2 (CLOCK_AHB / CONFIG_CLOCK_APB2_DIV) /* PCLK1, max: 48/64/80/120MHz */ #define CLOCK_APB2 (CLOCK_AHB / CONFIG_CLOCK_APB2_DIV) /* PCLK1, max: 48/64/80/120MHz */
/** @} */
#ifdef __cplusplus #ifdef __cplusplus
} }

View File

@ -50,6 +50,7 @@
/** /**
* @name MP1 clock bus settings (MCU, APB1, APB2 and APB3) * @name MP1 clock bus settings (MCU, APB1, APB2 and APB3)
* @{
*/ */
#ifndef CONFIG_CLOCK_MCU_DIV #ifndef CONFIG_CLOCK_MCU_DIV
#define CONFIG_CLOCK_MCU_DIV (1) /* max 208MHz */ #define CONFIG_CLOCK_MCU_DIV (1) /* max 208MHz */