Changeset bbdf66c in rtems-docs


Ignore:
Timestamp:
Aug 4, 2017, 12:26:36 PM (2 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
aa4f8e2
Parents:
1ab6d59
Message:

bsp: Optional clock driver shutdown

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bsp-howto/clock.rst

    r1ab6d59 rbbdf66c  
    270270=======================
    271271
    272 The :dfn:`Clock Driver Shell` provides the routine ``Clock_exit()`` that is
    273 scheduled to be run during system shutdown via the ``atexit()`` routine.  The
    274 hardware-specific shutdown support is specified by
     272Optionally, the :dfn:`Clock Driver Shell` provides the routine ``Clock_exit()``
     273that is scheduled to be run during system shutdown via the ``atexit()``
     274routine.  The hardware-specific shutdown support is specified by
    275275``Clock_driver_support_shutdown_hardware()`` which is used by ``Clock_exit()``.
    276276It should disable the clock tick source if it was enabled.  This can be used to
    277 prevent clock ticks after the system is shutdown.
     277prevent clock ticks after the system is shutdown.  The
     278``Clock_driver_support_shutdown_hardware()`` must be provided as a macro.  In
     279case this macro is undefined, then the shutdown support is disabled.  This is
     280useful for example on memory constrained systems to avoid the ``atexit()``
     281overhead.
    278282
    279283.. code-block:: c
Note: See TracChangeset for help on using the changeset viewer.