50 #define PRU0_PRU1_INTERRUPT 17 51 #define PRU1_PRU0_INTERRUPT 18 52 #define PRU0_ARM_INTERRUPT 19 53 #define PRU1_ARM_INTERRUPT 20 54 #define ARM_PRU0_INTERRUPT 21 55 #define ARM_PRU1_INTERRUPT 22 57 #define PRU0_PRU1_INTERRUPT 32 58 #define PRU1_PRU0_INTERRUPT 33 59 #define PRU0_ARM_INTERRUPT 34 60 #define PRU1_ARM_INTERRUPT 35 61 #define ARM_PRU0_INTERRUPT 36 62 #define ARM_PRU1_INTERRUPT 37 86 #define PRU0_HOSTEN_MASK 0x0001 87 #define PRU1_HOSTEN_MASK 0x0002 88 #define PRU_EVTOUT0_HOSTEN_MASK 0x0004 89 #define PRU_EVTOUT1_HOSTEN_MASK 0x0008 90 #define PRU_EVTOUT2_HOSTEN_MASK 0x0010 91 #define PRU_EVTOUT3_HOSTEN_MASK 0x0020 92 #define PRU_EVTOUT4_HOSTEN_MASK 0x0040 93 #define PRU_EVTOUT5_HOSTEN_MASK 0x0080 94 #define PRU_EVTOUT6_HOSTEN_MASK 0x0100 95 #define PRU_EVTOUT7_HOSTEN_MASK 0x0200 98 #define PRUSS_INTC_INITDATA { \ 99 { PRU0_PRU1_INTERRUPT, PRU1_PRU0_INTERRUPT, PRU0_ARM_INTERRUPT, PRU1_ARM_INTERRUPT, ARM_PRU0_INTERRUPT, ARM_PRU1_INTERRUPT, (char)-1 }, \ 100 { {PRU0_PRU1_INTERRUPT,CHANNEL1}, {PRU1_PRU0_INTERRUPT, CHANNEL0}, {PRU0_ARM_INTERRUPT,CHANNEL2}, {PRU1_ARM_INTERRUPT, CHANNEL3}, {ARM_PRU0_INTERRUPT, CHANNEL0}, {ARM_PRU1_INTERRUPT, CHANNEL1}, {-1,-1}}, \ 101 { {CHANNEL0,PRU0}, {CHANNEL1, PRU1}, {CHANNEL2, PRU_EVTOUT0}, {CHANNEL3, PRU_EVTOUT1}, {-1,-1} }, \ 102 (PRU0_HOSTEN_MASK | PRU1_HOSTEN_MASK | PRU_EVTOUT0_HOSTEN_MASK | PRU_EVTOUT1_HOSTEN_MASK) \
Loading...