rt-thread-official/bsp/renesas/ra6m3-hmi-board/ra_gen/vector_data.c

29 lines
1.8 KiB
C
Raw Normal View History

2023-04-19 14:01:34 +08:00
/* generated vector source file - do not edit */
#include "bsp_api.h"
/* Do not build these data structures if no interrupts are currently allocated because IAR will have build errors. */
#if VECTOR_DATA_IRQ_COUNT > 0
2024-05-08 09:43:52 +08:00
#if __has_include("r_ioport.h")
2023-04-19 14:01:34 +08:00
BSP_DONT_REMOVE const fsp_vector_t g_vector_table[BSP_ICU_VECTOR_MAX_ENTRIES] BSP_PLACE_IN_SECTION(BSP_SECTION_APPLICATION_VECTORS) =
{
[0] = sci_uart_rxi_isr, /* SCI9 RXI (Received data full) */
[1] = sci_uart_txi_isr, /* SCI9 TXI (Transmit data empty) */
[2] = sci_uart_tei_isr, /* SCI9 TEI (Transmit end) */
[3] = sci_uart_eri_isr, /* SCI9 ERI (Receive error) */
};
const bsp_interrupt_event_t g_interrupt_event_link_select[BSP_ICU_VECTOR_MAX_ENTRIES] =
{
[0] = BSP_PRV_IELS_ENUM(EVENT_SCI9_RXI), /* SCI9 RXI (Received data full) */
[1] = BSP_PRV_IELS_ENUM(EVENT_SCI9_TXI), /* SCI9 TXI (Transmit data empty) */
[2] = BSP_PRV_IELS_ENUM(EVENT_SCI9_TEI), /* SCI9 TEI (Transmit end) */
[3] = BSP_PRV_IELS_ENUM(EVENT_SCI9_ERI), /* SCI9 ERI (Receive error) */
};
2024-05-08 09:43:52 +08:00
#elif __has_include("r_ioport_b.h")
BSP_DONT_REMOVE const fsp_vector_t g_vector_table[BSP_IRQ_VECTOR_MAX_ENTRIES] BSP_PLACE_IN_SECTION(BSP_SECTION_APPLICATION_VECTORS) =
{
[BSP_PRV_IELS_ENUM(SCI9_RXI)] = sci_uart_rxi_isr, /* SCI9 RXI (Received data full) */
[BSP_PRV_IELS_ENUM(SCI9_TXI)] = sci_uart_txi_isr, /* SCI9 TXI (Transmit data empty) */
[BSP_PRV_IELS_ENUM(SCI9_TEI)] = sci_uart_tei_isr, /* SCI9 TEI (Transmit end) */
[BSP_PRV_IELS_ENUM(SCI9_ERI)] = sci_uart_eri_isr, /* SCI9 ERI (Receive error) */
};
#endif
#endif