summaryrefslogtreecommitdiffstats
path: root/bsps
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2023-05-23 14:34:21 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2023-05-26 06:56:11 +0200
commitebe4224dcecbb6f12a90d086acd50f6657db8ddb (patch)
tree6111ec503253732f05d2d10aaa46248bbd57994a /bsps
parentbsps: Improve Doxygen file comments (diff)
downloadrtems-ebe4224dcecbb6f12a90d086acd50f6657db8ddb.tar.bz2
bsps/arm: Improve Doxygen groups
Diffstat (limited to 'bsps')
-rw-r--r--bsps/arm/include/bsp/arm-a9mpcore-clock.h16
-rw-r--r--bsps/arm/include/bsp/arm-a9mpcore-irq.h14
-rw-r--r--bsps/arm/include/bsp/arm-a9mpcore-regs.h18
-rw-r--r--bsps/arm/include/bsp/arm-a9mpcore-start.h14
-rw-r--r--bsps/arm/shared/clock/clock-a9mpcore.c9
5 files changed, 62 insertions, 9 deletions
diff --git a/bsps/arm/include/bsp/arm-a9mpcore-clock.h b/bsps/arm/include/bsp/arm-a9mpcore-clock.h
index 80e3ca4934..811a2037bd 100644
--- a/bsps/arm/include/bsp/arm-a9mpcore-clock.h
+++ b/bsps/arm/include/bsp/arm-a9mpcore-clock.h
@@ -1,5 +1,13 @@
/* SPDX-License-Identifier: BSD-2-Clause */
+/**
+ * @file
+ *
+ * @ingroup A9MPCoreSupport
+ *
+ * @brief This header file provides the interfaces of the @ref A9MPCoreSupport.
+ */
+
/*
* Copyright (c) 2013 Chris Johns <chrisj@rtems.org>. All rights reserved.
*
@@ -34,6 +42,12 @@
extern "C" {
#endif /* __cplusplus */
+/**
+ * @addtogroup A9MPCoreSupport
+ *
+ * @{
+ */
+
/*
* Return the peripheral clock. For systems such as the zynq this
* is controlled by the PL logic generation and can vary. Provide this
@@ -41,6 +55,8 @@ extern "C" {
*/
uint32_t a9mpcore_clock_periphclk(void);
+/** @} */
+
#ifdef __cplusplus
}
#endif /* __cplusplus */
diff --git a/bsps/arm/include/bsp/arm-a9mpcore-irq.h b/bsps/arm/include/bsp/arm-a9mpcore-irq.h
index 543433919a..6cf1ae122a 100644
--- a/bsps/arm/include/bsp/arm-a9mpcore-irq.h
+++ b/bsps/arm/include/bsp/arm-a9mpcore-irq.h
@@ -1,11 +1,11 @@
/* SPDX-License-Identifier: BSD-2-Clause */
/**
- * @file
+ * @file
*
- * @ingroup RTEMSBSPsARMShared
+ * @ingroup A9MPCoreSupport
*
- * @brief ARM_A9MPCORE_IRQ Support
+ * @brief This header file provides the interfaces of the @ref A9MPCoreSupport.
*/
/*
@@ -40,12 +40,20 @@
extern "C" {
#endif /* __cplusplus */
+/**
+ * @addtogroup A9MPCoreSupport
+ *
+ * @{
+ */
+
#define A9MPCORE_IRQ_GT 27
#define A9MPCORE_IRQ_NFIQ 28
#define A9MPCORE_IRQ_PT 29
#define A9MPCORE_IRQ_PW 30
#define A9MPCORE_IRQ_NIRQ 31
+/** @} */
+
#ifdef __cplusplus
}
#endif /* __cplusplus */
diff --git a/bsps/arm/include/bsp/arm-a9mpcore-regs.h b/bsps/arm/include/bsp/arm-a9mpcore-regs.h
index df6ba5871c..d577b59877 100644
--- a/bsps/arm/include/bsp/arm-a9mpcore-regs.h
+++ b/bsps/arm/include/bsp/arm-a9mpcore-regs.h
@@ -1,11 +1,11 @@
/* SPDX-License-Identifier: BSD-2-Clause */
/**
- * @file
+ * @file
*
- * @ingroup RTEMSBSPsARMShared
+ * @ingroup A9MPCoreSupport
*
- * @brief ARM_A9MPCORE_REGS Support
+ * @brief This header file provides the interfaces of the @ref A9MPCoreSupport.
*/
/*
@@ -38,6 +38,16 @@
#include <bsp/utility.h>
+/**
+ * @defgroup A9MPCoreSupport Cortex-A9 MPCore Support
+ *
+ * @ingroup RTEMSBSPsARMShared
+ *
+ * @brief This group contains support interfaces for the Cortex-A9 MPCore.
+ *
+ * @{
+ */
+
typedef struct {
uint32_t ctrl;
#define A9MPCORE_SCU_CTRL_SCU_EN BSP_BIT32(0)
@@ -143,4 +153,6 @@ typedef struct {
a9mpcore_idist idist;
} a9mpcore;
+/** @} */
+
#endif /* LIBBSP_ARM_SHARED_ARM_A9MPCORE_REGS_H */
diff --git a/bsps/arm/include/bsp/arm-a9mpcore-start.h b/bsps/arm/include/bsp/arm-a9mpcore-start.h
index 1f225adf52..807f22d657 100644
--- a/bsps/arm/include/bsp/arm-a9mpcore-start.h
+++ b/bsps/arm/include/bsp/arm-a9mpcore-start.h
@@ -1,11 +1,11 @@
/* SPDX-License-Identifier: BSD-2-Clause */
/**
- * @file
+ * @file
*
- * @ingroup RTEMSBSPsARMShared
+ * @ingroup A9MPCoreSupport
*
- * @brief A9MPCORE_START Support
+ * @brief This header file provides the interfaces of the @ref A9MPCoreSupport.
*/
/*
@@ -51,6 +51,12 @@
extern "C" {
#endif /* __cplusplus */
+/**
+ * @addtogroup A9MPCoreSupport
+ *
+ * @{
+ */
+
BSP_START_TEXT_SECTION static inline void arm_a9mpcore_start_scu_invalidate(
volatile a9mpcore_scu *scu,
uint32_t cpu_id,
@@ -188,6 +194,8 @@ BSP_START_TEXT_SECTION static inline void arm_a9mpcore_start_hook_1(void)
arm_a9mpcore_start_global_timer();
}
+/** @} */
+
#ifdef __cplusplus
}
#endif /* __cplusplus */
diff --git a/bsps/arm/shared/clock/clock-a9mpcore.c b/bsps/arm/shared/clock/clock-a9mpcore.c
index 85e8485f4f..15c5d8b067 100644
--- a/bsps/arm/shared/clock/clock-a9mpcore.c
+++ b/bsps/arm/shared/clock/clock-a9mpcore.c
@@ -1,5 +1,14 @@
/* SPDX-License-Identifier: BSD-2-Clause */
+/**
+ * @file
+ *
+ * @ingroup A9MPCoreSupport
+ *
+ * @brief This source file contains the Clock Driver for Cortex-A9 MPCore
+ * compatible devices.
+ */
+
/*
* Copyright (C) 2013, 2016 embedded brains GmbH & Co. KG
*