diff options
author | henryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2007-11-11 19:24:37 +0000 |
---|---|---|
committer | henryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2007-11-11 19:24:37 +0000 |
commit | 1dfa375abb95c59830c38697c53fa9a6794a9fb9 (patch) | |
tree | ffa43c6bcfe4662c6e73baf1668b85b097b9028f /openpicc/config | |
parent | 9d397dfbbea03968384b9a1b0ae121b6ba256806 (diff) |
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
Diffstat (limited to 'openpicc/config')
-rw-r--r-- | openpicc/config/board.h | 13 |
1 files changed, 13 insertions, 0 deletions
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 */ /*-----------------*/ |