From 0c1619918435d0934faf7b155c56fdfa53fe9605 Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Thu, 8 Sep 2011 00:54:44 -0400 Subject: Add better refs to some systick.h functions. --- source/libmaple/api/systick.rst | 8 ++------ source/timers.rst | 4 ++-- 2 files changed, 4 insertions(+), 8 deletions(-) (limited to 'source') diff --git a/source/libmaple/api/systick.rst b/source/libmaple/api/systick.rst index 8dab417..45b6d63 100644 --- a/source/libmaple/api/systick.rst +++ b/source/libmaple/api/systick.rst @@ -1,11 +1,5 @@ .. highlight:: c -.. FIXME [0.0.10] move these to the right places: - -.. _libmaple-systick_disable: - -.. _libmaple-systick_resume: - .. _libmaple-systick: ``systick.h`` @@ -30,7 +24,9 @@ Functions --------- .. doxygenfunction:: systick_init +.. _libmaple-systick-enable: .. doxygenfunction:: systick_enable +.. _libmaple-systick-disable: .. doxygenfunction:: systick_disable .. doxygenfunction:: systick_uptime .. doxygenfunction:: systick_get_count diff --git a/source/timers.rst b/source/timers.rst index b6c0886..ce33f7f 100644 --- a/source/timers.rst +++ b/source/timers.rst @@ -118,7 +118,7 @@ periodic or delayed events. Its separate timer does not conflict with any other peripherals, but the associated 1 kHz interrupt can jitter the general purpose timer interrupts. The SysTick peripheral can be disabled by calling :ref:`systick_disable() -`, and re-enabled using -:ref:`systick_resume() `. However, be aware +`, and re-enabled using +:ref:`systick_enable() `. However, be aware that calling ``systick_disable()`` will stop the values coming from :ref:`lang-micros` and :ref:`lang-millis` from increasing. -- cgit v1.2.3