diff options
-rw-r--r-- | openpcd/firmware/src/openpcd.h | 6 |
1 files changed, 6 insertions, 0 deletions
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); |