aboutsummaryrefslogtreecommitdiffstats
path: root/src/pru/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pru/internal.h')
-rw-r--r--src/pru/internal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pru/internal.h b/src/pru/internal.h
index 2aef0da3..f735f80a 100644
--- a/src/pru/internal.h
+++ b/src/pru/internal.h
@@ -15,6 +15,12 @@
#define WAKE_PRU1_IRQ 1
#define WAKE_ARM_IRQ 2
+/* Host-0 Interrupt sets bit 31 in register R31 */
+#define HOST_INT_0 ((uint32_t) 1 << 30)
+
+/* Host-1 Interrupt sets bit 31 in register R31 */
+#define HOST_INT_1 ((uint32_t) 1 << 31)
+
#define R31_IRQ_OFFSET 30
#define R31_WRITE_IRQ_SELECT (1<<5)