From 52985be4417d97beb2bbd95bdd2dd53be516ceda Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> Date: Tue, 8 Aug 2006 16:38:17 +0000 Subject: add some more state and PIO constants git-svn-id: https://svn.openpcd.org:2342/trunk@80 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 --- openpcd/firmware/src/openpcd.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/openpcd/firmware/src/openpcd.h b/openpcd/firmware/src/openpcd.h index fa93dce..ce9aac8 100644 --- a/openpcd/firmware/src/openpcd.h +++ b/openpcd/firmware/src/openpcd.h @@ -14,12 +14,16 @@ #define OPENPCD_IRQ_RC632 AT91C_ID_IRQ1 +#define OPENPCD_PIO_CARRIER_DIV AT91C_PIO_PA1 #define OPENPCD_PIO_MFIN AT91C_PIO_PA17 #define OPENPCD_PIO_MFOUT AT91C_PIO_PA18 +#define OPENPCD_PIO_SSP_CKIN AT91C_PIO_PA19 #define OPENPCD_PIO_RC632_RESET AT91C_PIO_PA29 #define OPENPCD_PIO_TRIGGER AT91C_PIO_PA31 +#define OPENPCD_PIO_CARRIER AT91C_PIO_PA28 #define OPENPCD_IRQ_PRIO_SPI AT91C_AIC_PRIOR_HIGHEST +#define OPENPCD_IRQ_PRIO_SSC (AT91C_AIC_PRIOR_HIGHEST-1) #define OPENPCD_IRQ_PRIO_UDP (AT91C_AIC_PRIOR_LOWEST+1) #define OPENPCD_IRQ_PRIO_RC632 AT91C_AIC_PRIOR_LOWEST @@ -57,6 +61,8 @@ struct req_ctx { #define RCTX_STATE_UDP_EP3_PENDING 0x12 #define RCTX_STATE_UDP_EP3_BUSY 0x13 +#define RCTX_STATE_SSC_RX_BUSY 0x20 + #define NUM_REQ_CTX 8 extern struct req_ctx *req_ctx_find_get(unsigned long old_state, unsigned long new_state); extern struct req_ctx *req_ctx_find_busy(void); -- cgit v1.2.3