summaryrefslogtreecommitdiffstats
path: root/bsp-howto
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-09-18 08:26:50 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-09-18 08:31:09 +0200
commit27515eceb2affcb97da9c8f9279425d7bbf0aff6 (patch)
tree085361342b6ad15a29a9563d7bbf0e7e3f3bd0fa /bsp-howto
parent5c3683e900c69b6cbc632ce7b16f2bc655b93688 (diff)
downloadrtems-docs-27515eceb2affcb97da9c8f9279425d7bbf0aff6.tar.bz2
bsp-howto: Clock_driver_support_install_isr()
Close #3139.
Diffstat (limited to 'bsp-howto')
-rw-r--r--bsp-howto/clock.rst8
1 files 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"