aboutsummaryrefslogtreecommitdiffstats
path: root/docs/source/lang/api/detachinterrupt.rst
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-02-08 22:19:40 -0500
committerMarti Bolivar <mbolivar@leaflabs.com>2011-02-08 22:19:40 -0500
commit90adb6bff63e3ecad81d300651a40d8835efc608 (patch)
tree17a4641d6da3face5cb31e4027f51ca00e646ddb /docs/source/lang/api/detachinterrupt.rst
parent8ffa051f2df2b380930ca10ce030134b57b976d3 (diff)
downloadlibrambutan-90adb6bff63e3ecad81d300651a40d8835efc608.tar.gz
librambutan-90adb6bff63e3ecad81d300651a40d8835efc608.zip
Documentation bugfixes
Diffstat (limited to 'docs/source/lang/api/detachinterrupt.rst')
-rw-r--r--docs/source/lang/api/detachinterrupt.rst16
1 files changed, 11 insertions, 5 deletions
diff --git a/docs/source/lang/api/detachinterrupt.rst b/docs/source/lang/api/detachinterrupt.rst
index adb2439..41642a7 100644
--- a/docs/source/lang/api/detachinterrupt.rst
+++ b/docs/source/lang/api/detachinterrupt.rst
@@ -6,11 +6,20 @@ detachInterrupt()
Used to disable an interrupt specified with
:ref:`lang-attachinterrupt`\ .
-
Library Documentation
---------------------
-.. doxygenfunction:: detachInterrupt
+.. FIXME once breathe knows how to get the correct detachInterupt
+.. (right now it's copying from HardwareTimer), replace with a
+.. doxygenfunction directive
+
+.. cpp:function:: void detachInterrupt(uint8 pin)
+
+ Disable any registered external interrupt on the given pin.
+
+ *Parameters*
+
+ - ``pin`` Maple pin number
Arduino Compatibility
---------------------
@@ -31,7 +40,4 @@ See Also
- :ref:`attachInterrupt() <lang-attachInterrupt>`
-
-
-
.. include:: cc-attribution.txt