aboutsummaryrefslogtreecommitdiffstats
path: root/docs/source/timers.rst
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@mit.edu>2010-10-25 21:15:28 -0400
committerMarti Bolivar <mbolivar@mit.edu>2010-11-17 12:44:28 -0500
commit95783b750fda95f5f4c1fac00ab24da03b31b517 (patch)
tree2b0bf89c101aa58af5796fbe76c7ec98eebbb0a5 /docs/source/timers.rst
parent3a9a119e9a8ce72c0e1b8fa4d3904bdf84ce355c (diff)
downloadlibrambutan-95783b750fda95f5f4c1fac00ab24da03b31b517.tar.gz
librambutan-95783b750fda95f5f4c1fac00ab24da03b31b517.zip
arduino language reference nearing completion, properly CC-BY-SA 3.0 attributed
Diffstat (limited to 'docs/source/timers.rst')
-rw-r--r--docs/source/timers.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/source/timers.rst b/docs/source/timers.rst
index e0e57cb..fe6ea4a 100644
--- a/docs/source/timers.rst
+++ b/docs/source/timers.rst
@@ -32,6 +32,8 @@ counter to reset to zero more frequently.
Caveats
-------
+.. _timers-pwm-conflicts:
+
**PWM Conflicts:** Because PWM functionality on a given pin depends on
the configuration of the timer and channel, you must chose your
channels carefully if you want to use both timer interrupts and PWM in
@@ -196,6 +198,9 @@ from 1 to 4.
Note that function call overhead means that the smallest increment
rate is a couple microseconds.
+.. _timers-attachinterrupt:
+.. _timers-detachinterrupt:
+
``Timer1.attachCompare1Interrupt(function)``/\ ``Timer1.detachCompare1Interrupt()``
This is how to attach or disable an interrupt handlers to timer