summaryrefslogtreecommitdiffstats
path: root/bsps
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2023-01-23 15:26:10 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2023-01-24 09:56:53 +0100
commit6136e28bf95c8cadf4892fd3e1333e489aff139a (patch)
treeee95f7da351ee4bfefef7cfef5ab0a510cc043cc /bsps
parenttm27: Avoid function pointer casts (diff)
downloadrtems-6136e28bf95c8cadf4892fd3e1333e489aff139a.tar.bz2
clockdrv: Add clock driver implementation group
Use standard wording in Clock Driver related files. Update #3706.
Diffstat (limited to 'bsps')
-rw-r--r--bsps/arm/raspberrypi/clock/clockdrv.c7
-rw-r--r--bsps/or1k/generic_or1k/clock/clockdrv.c7
-rw-r--r--bsps/riscv/riscv/clock/clockdrv.c5
-rw-r--r--bsps/shared/dev/clock/clockimpl.h23
4 files changed, 22 insertions, 20 deletions
diff --git a/bsps/arm/raspberrypi/clock/clockdrv.c b/bsps/arm/raspberrypi/clock/clockdrv.c
index 9954d41741..8d220d51ba 100644
--- a/bsps/arm/raspberrypi/clock/clockdrv.c
+++ b/bsps/arm/raspberrypi/clock/clockdrv.c
@@ -1,14 +1,13 @@
/**
* @file
*
- * @ingroup bsp_clock
+ * @ingroup RTEMSDriverClockImpl
*
- * @brief Raspberry Pi clock support.
+ * @brief This source file contains the implementation of the BCM2835 Clock
+ * Driver.
*/
/*
- * BCM2835 Clock driver
- *
* Copyright (c) 2013 Alan Cudmore
* Copyright (c) 2016 Pavel Pisa
*
diff --git a/bsps/or1k/generic_or1k/clock/clockdrv.c b/bsps/or1k/generic_or1k/clock/clockdrv.c
index 7b8a07fd3d..44f220e057 100644
--- a/bsps/or1k/generic_or1k/clock/clockdrv.c
+++ b/bsps/or1k/generic_or1k/clock/clockdrv.c
@@ -1,14 +1,13 @@
/**
* @file
*
- * @ingroup bsp_clock
+ * @ingroup RTEMSDriverClockImpl
*
- * @brief or1k clock support.
+ * @brief This source file contains the implementation of the or1k Clock
+ * Driver.
*/
/*
- * generic_or1k Clock driver
- *
* COPYRIGHT (c) 2014-2015 Hesham ALMatary <heshamelmatary@gmail.com>
*
* The license and distribution terms for this file may be
diff --git a/bsps/riscv/riscv/clock/clockdrv.c b/bsps/riscv/riscv/clock/clockdrv.c
index d183e65b94..28222c69db 100644
--- a/bsps/riscv/riscv/clock/clockdrv.c
+++ b/bsps/riscv/riscv/clock/clockdrv.c
@@ -1,9 +1,10 @@
/**
* @file
*
- * @ingroup bsp_clock
+ * @ingroup RTEMSDriverClockImpl
*
- * @brief riscv clock support.
+ * @brief This source file contains the implementation of the riscv Clock
+ * Driver.
*/
/*
diff --git a/bsps/shared/dev/clock/clockimpl.h b/bsps/shared/dev/clock/clockimpl.h
index ccf6d3ab60..e922c0b320 100644
--- a/bsps/shared/dev/clock/clockimpl.h
+++ b/bsps/shared/dev/clock/clockimpl.h
@@ -3,9 +3,12 @@
/**
* @file
*
- * @ingroup bsp_clock
+ * @ingroup RTEMSDriverClockImpl
*
- * @brief Clock Tick Device Driver Shell
+ * @brief This header file contains the shared Clock Driver implementation.
+ *
+ * This header file shall only be included by a particular Clock Driver
+ * implementation source file.
*/
/*
@@ -44,18 +47,18 @@
#include <rtems/score/thread.h>
#include <rtems/score/watchdogimpl.h>
-#ifdef Clock_driver_nanoseconds_since_last_tick
-#error "Update driver to use the timecounter instead of nanoseconds extension"
-#endif
-
/**
- * @defgroup bsp_clock Clock Support
- *
- * @ingroup RTEMSBSPsShared
+ * @defgroup RTEMSDriverClockImpl Clock Driver Implementation
*
- * @brief Clock support
+ * @ingroup RTEMSDriverClock
*
+ * @brief This group contains the Clock Driver implementation.
*/
+
+#ifdef Clock_driver_nanoseconds_since_last_tick
+#error "Update driver to use the timecounter instead of nanoseconds extension"
+#endif
+
#if CLOCK_DRIVER_USE_FAST_IDLE && CLOCK_DRIVER_ISRS_PER_TICK
#error "Fast Idle PLUS n ISRs per tick is not supported"
#endif