summaryrefslogtreecommitdiff
path: root/hw/bsp/ra/vector_data.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-07-05 17:13:01 +0700
committerhathach <[email protected]>2023-07-05 17:13:01 +0700
commitf79529c09c6e7c0d6ee5586633ceb8c83e345406 (patch)
tree869df5eb8a1f275bf2ccc32093b446d9e59d78d9 /hw/bsp/ra/vector_data.h
parent1d6ca3bc9b68e0f17f2db61d2d8c2c951b8b32eb (diff)
usb hs work with ra 6m5 ek
Diffstat (limited to 'hw/bsp/ra/vector_data.h')
-rw-r--r--hw/bsp/ra/vector_data.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/hw/bsp/ra/vector_data.h b/hw/bsp/ra/vector_data.h
index 3d8a24634..ca667faa3 100644
--- a/hw/bsp/ra/vector_data.h
+++ b/hw/bsp/ra/vector_data.h
@@ -6,22 +6,29 @@
extern "C" {
#endif
-#ifndef VECTOR_DATA_IRQ_COUNT
- #define VECTOR_DATA_IRQ_COUNT 4
-#endif
-
/* ISR prototypes */
void usbfs_interrupt_handler(void);
void usbfs_resume_handler(void);
void usbfs_d0fifo_handler(void);
void usbfs_d1fifo_handler(void);
+#ifdef BOARD_HAS_USB_HIGHSPEED
+void usbhs_interrupt_handler(void);
+void usbhs_d0fifo_handler(void);
+void usbhs_d1fifo_handler(void);
+#endif
+
/* Vector table allocations */
#define USBFS_INT_IRQn 0
#define USBFS_RESUME_IRQn 1
#define USBFS_FIFO_0_IRQn 2
#define USBFS_FIFO_1_IRQn 3
+#define USBHS_USB_INT_RESUME_IRQn 4 /* USBHS USB INT RESUME (USBHS interrupt) */
+#define USBHS_FIFO_0_IRQn 5 /* USBHS FIFO 0 (DMA transfer request 0) */
+#define USBHS_FIFO_1_IRQn 6 /* USBHS FIFO 1 (DMA transfer request 1) */
+
+
#ifdef __cplusplus
}
#endif