From 1dfa375abb95c59830c38697c53fa9a6794a9fb9 Mon Sep 17 00:00:00 2001 From: henryk Date: Sun, 11 Nov 2007 19:24:37 +0000 Subject: Add code modules for tc_fdt, tc_cdiv_sync, tc_cdiv, ssc_picc Almost all of these have not been checked yet, I just copied them over and hot-fixed compile time errors F.e. all ssc usb code has been removed git-svn-id: https://svn.openpcd.org:2342/trunk@323 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 --- openpicc/config/board.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'openpicc/config') diff --git a/openpicc/config/board.h b/openpicc/config/board.h index 065c26d..80ae94b 100644 --- a/openpicc/config/board.h +++ b/openpicc/config/board.h @@ -61,6 +61,19 @@ #define OPENPICC_PIO_PLL_INHIBIT AT91C_PIO_PA24 #define OPENPICC_PIO_PLL_LOCK AT91C_PIO_PA4 +#define OPENPICC_MOD_PWM AT91C_PA23_PWM0 +#define OPENPICC_MOD_SSC AT91C_PA17_TD +#define OPENPICC_SSC_DATA AT91C_PA18_RD +#define OPENPICC_SSC_CLOCK AT91C_PA19_RK + +#define OPENPICC_PIO_FRAME AT91C_PIO_PA20 +#define OPENPICC_PIO_SSC_DATA_CONTROL AT91C_PIO_PA21 +#define OPENPICC_PIO_AB_DETECT AT91C_PIO_PA22 +#define OPENPICC_PIO_PLL_INHIBIT AT91C_PIO_PA24 + +#define OPENPICC_IRQ_PRIO_SSC (AT91C_AIC_PRIOR_HIGHEST-1) +#define OPENPCD_IRQ_PRIO_TC_FDT (AT91C_AIC_PRIOR_LOWEST+3) + /*-----------------*/ /* task priorities */ /*-----------------*/ -- cgit v1.2.3