summaryrefslogtreecommitdiff
path: root/openpicc/config
diff options
context:
space:
mode:
authorhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2007-11-07 11:30:13 +0000
committerhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2007-11-07 11:30:13 +0000
commitee25d9a00e48c310d58b21629a6bc672136c4503 (patch)
treec41d226e6bc60cd2f4c904f24ac5690e60eec47b /openpicc/config
parent633c646ab36368caf6eaeedd326d9f1835196afd (diff)
DA code to set the comparator threshold
git-svn-id: https://svn.openpcd.org:2342/trunk@312 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'openpicc/config')
-rw-r--r--openpicc/config/board.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/openpicc/config/board.h b/openpicc/config/board.h
index 5a56155..065c26d 100644
--- a/openpicc/config/board.h
+++ b/openpicc/config/board.h
@@ -50,15 +50,17 @@
#define MCKKHz (MCK/1000) //
/*-----------------*/
-/* LED declaration */
+/* Pins */
/*-----------------*/
-//#define LED_GREEN (1L<<23)
#define LED_GREEN AT91C_PIO_PA25
-//#define LED_RED (1L<<20)
#define LED_RED AT91C_PIO_PA12
#define LED_MASK (LED_GREEN|LED_RED)
+#define OPENPICC_PIO_SS2_DT_THRESH AT91C_PIO_PA8
+#define OPENPICC_PIO_PLL_INHIBIT AT91C_PIO_PA24
+#define OPENPICC_PIO_PLL_LOCK AT91C_PIO_PA4
+
/*-----------------*/
/* task priorities */
/*-----------------*/
personal git repositories of Harald Welte. Your mileage may vary