From ee1f021427f8966fb29e70eab1a3be4345af65b1 Mon Sep 17 00:00:00 2001 From: henryk Date: Tue, 13 Nov 2007 04:37:38 +0000 Subject: 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 --- openpicc/config/board.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'openpicc/config') 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) -- cgit v1.2.3