[rtems-docs commit] bsp-howto: Clock_driver_support_install_isr()
Sebastian Huber
sebh at rtems.org
Mon Sep 18 06:31:14 UTC 2017
Module: rtems-docs
Branch: master
Commit: 27515eceb2affcb97da9c8f9279425d7bbf0aff6
Changeset: http://git.rtems.org/rtems-docs/commit/?id=27515eceb2affcb97da9c8f9279425d7bbf0aff6
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Mon Sep 18 08:26:50 2017 +0200
bsp-howto: Clock_driver_support_install_isr()
Close #3139.
---
bsp-howto/clock.rst | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/bsp-howto/clock.rst b/bsp-howto/clock.rst
index efe9fad..a316f6f 100644
--- a/bsp-howto/clock.rst
+++ b/bsp-howto/clock.rst
@@ -220,8 +220,10 @@ For an example see the `Motrola 68360 clock driver
Install Clock Tick Interrupt Service Routine
============================================
-The clock driver must provide a function to install the clock tick interrupt
-service routine via ``Clock_driver_support_install_isr()``.
+The clock driver may provide a function to install the clock tick interrupt
+service routine via ``Clock_driver_support_install_isr()``. The clock tick
+interrupt service routine is passed as the one and only parameter to this
+macro. The default implementation will do nothing.
.. code-block:: c
@@ -243,7 +245,7 @@ service routine via ``Clock_driver_support_install_isr()``.
}
}
- #define Clock_driver_support_install_isr( isr, old ) \
+ #define Clock_driver_support_install_isr( isr ) \
some_support_install_isr( isr )
#include "../../../shared/clockdrv_shell.h"
More information about the vc
mailing list