summaryrefslogtreecommitdiff
path: root/openpicc/config/board.h
diff options
context:
space:
mode:
authorhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2007-11-13 04:37:38 +0000
committerhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2007-11-13 04:37:38 +0000
commitee1f021427f8966fb29e70eab1a3be4345af65b1 (patch)
treeda67b9d102daaea09e06be52cc53c186a17ed507 /openpicc/config/board.h
parent3d0a9bd40be2d014e0877eb623042c899d8cbe66 (diff)
Get tc_cdiv working (presumably, need to check on the oscilloscope)
Add adc code to read the field strength git-svn-id: https://svn.openpcd.org:2342/trunk@325 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'openpicc/config/board.h')
-rw-r--r--openpicc/config/board.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/openpicc/config/board.h b/openpicc/config/board.h
index 80ae94b..813a7a3 100644
--- a/openpicc/config/board.h
+++ b/openpicc/config/board.h
@@ -71,6 +71,13 @@
#define OPENPICC_PIO_AB_DETECT AT91C_PIO_PA22
#define OPENPICC_PIO_PLL_INHIBIT AT91C_PIO_PA24
+#define OPENPICC_ADC_FIELD_STRENGTH AT91C_ADC_CH4
+
+#define OPENPICC_PIO_CARRIER_IN AT91C_PA28_TCLK1
+#define OPENPICC_PIO_CARRIER_DIV_OUT AT91C_PA1_TIOB0
+#define OPENPICC_PIO_CDIV_HELP_OUT AT91C_PA0_TIOA0
+#define OPENPICC_PIO_CDIV_HELP_IN AT91C_PA29_TCLK2
+
#define OPENPICC_IRQ_PRIO_SSC (AT91C_AIC_PRIOR_HIGHEST-1)
#define OPENPCD_IRQ_PRIO_TC_FDT (AT91C_AIC_PRIOR_LOWEST+3)
personal git repositories of Harald Welte. Your mileage may vary