From 27515eceb2affcb97da9c8f9279425d7bbf0aff6 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 18 Sep 2017 08:26:50 +0200 Subject: bsp-howto: Clock_driver_support_install_isr() Close #3139. --- bsp-howto/clock.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'bsp-howto/clock.rst') 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" -- cgit v1.2.3