projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8e2b66
)
altos: Document which TeleFire alarm pins are which
author
Keith Packard
<keithp@keithp.com>
Tue, 22 Jul 2014 21:18:06 +0000
(14:18 -0700)
committer
Keith Packard
<keithp@keithp.com>
Fri, 15 Aug 2014 02:08:19 +0000
(19:08 -0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
src/telefire-v0.2/ao_pins.h
patch
|
blob
|
history
diff --git
a/src/telefire-v0.2/ao_pins.h
b/src/telefire-v0.2/ao_pins.h
index ef2d4822087e9f59157513890f9e0ea418fd4239..28cc65b92799e9ebd7672621571e8afa7b216648 100644
(file)
--- 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