aboutsummaryrefslogtreecommitdiffstats
path: root/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
commit2d429e75ce69e77f8c95490ac03881ec9aa0354a (patch)
treea3b810a6c75625b07a4b976e5d1e319c60e19a6b /source/timers.rst
parent30ac55d80c18e93f9c39a6dd850c10f9e7fd92ac (diff)
downloadlibrambutan-2d429e75ce69e77f8c95490ac03881ec9aa0354a.tar.gz
librambutan-2d429e75ce69e77f8c95490ac03881ec9aa0354a.zip
arduino language reference nearing completion, properly CC-BY-SA 3.0 attributed
Diffstat (limited to 'source/timers.rst')
-rw-r--r--source/timers.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/timers.rst b/source/timers.rst
index e0e57cb..fe6ea4a 100644
--- a/source/timers.rst
+++ b/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