mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sta-core.git
synced 2025-12-16 16:48:04 +00:00
Fix indentation. Update doxygen comments
This commit is contained in:
@@ -5,30 +5,33 @@
|
||||
#ifndef STA_CORE_STM32_CLOCKS_HPP
|
||||
#define STA_CORE_STM32_CLOCKS_HPP
|
||||
|
||||
/**
|
||||
* @defgroup stm32 STM32
|
||||
* @brief Modules implemented for STM32 MCUs.
|
||||
*/
|
||||
|
||||
// Only enable module on STM32 platform
|
||||
#include <sta/config.hpp>
|
||||
|
||||
|
||||
#if defined(STA_PLATFORM_STM32) || defined(DOXYGEN)
|
||||
|
||||
#include <sta/stm32/hal.hpp>
|
||||
|
||||
|
||||
/**
|
||||
* @defgroup stm32BuildConfig Build config
|
||||
* @ingroup stm32
|
||||
* @brief Build configuration options.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @defgroup stm32Clocks Clocks
|
||||
* @ingroup stm32
|
||||
* @defgroup sta_core_stm32_clocks Clocks
|
||||
* @ingroup sta_core_stm32
|
||||
* @brief STM32 Clock queries.
|
||||
* @{
|
||||
*/
|
||||
|
||||
|
||||
// Only enable module on STM32 platform
|
||||
#include <sta/config.hpp>
|
||||
#if defined(STA_PLATFORM_STM32) || defined(DOXYGEN)
|
||||
|
||||
#include <sta/stm32/hal.hpp>
|
||||
namespace sta
|
||||
{
|
||||
/**
|
||||
* @brief Get peripheral clock frequency.
|
||||
*
|
||||
* @return Clock frequency
|
||||
*/
|
||||
using PCLKFreqFn = uint32_t (*)();
|
||||
} // namespace sta
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user