summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-07-22 14:18:06 -0700
committerKeith Packard <keithp@keithp.com>2014-08-14 19:08:19 -0700
commitc4dd29fcbbb93e991993a0aa444748dba4ee7dde (patch)
tree96becf3e75b6669cfbbf536f51c2a89617952aed /src
parentd8e2b661e895fc59ded002a02191dcccce75f548 (diff)
altos: Document which TeleFire alarm pins are which
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r--src/telefire-v0.2/ao_pins.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/telefire-v0.2/ao_pins.h b/src/telefire-v0.2/ao_pins.h
index ef2d4822..28cc65b9 100644
--- a/src/telefire-v0.2/ao_pins.h
+++ b/src/telefire-v0.2/ao_pins.h
@@ -97,11 +97,13 @@
#define AO_PAD_ALL_PINS ((1 << AO_PAD_PIN_0) | (1 << AO_PAD_PIN_1) | (1 << AO_PAD_PIN_2) | (1 << AO_PAD_PIN_3))
#define AO_PAD_ALL_CHANNELS ((1 << 0) | (1 << 1) | (1 << 2) | (1 << 3))
+/* Alarm 2 */
#define AO_SIREN_PORT P2
#define AO_SIREN_DIR P2DIR
#define AO_SIREN_PIN 3
#define AO_SIREN P2_3
+/* Alarm 1 */
#define AO_STROBE_PORT P2
#define AO_STROBE_DIR P2DIR
#define AO_STROBE_PIN 4