File tree 1 file changed +9
-0
lines changed
1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 12
12
13
13
#if SERIAL_HOWMANY > 0
14
14
#include " r_uart_api.h"
15
+ #define UART_INTERRUPT_COUNT 4
15
16
#endif
16
17
17
18
#if EXT_INTERRUPTS_HOWMANY > 0
@@ -78,6 +79,9 @@ typedef struct i2c_irq_req {
78
79
i2c_master_cfg_t *mcfg;
79
80
i2c_slave_cfg_t *scfg;
80
81
} I2CIrqReq_t;
82
+ #define WIRE_MASTER_INTERRUPT_COUNT 4
83
+ #define WIRE_SLAVE_INTERRUPT_COUNT 4
84
+ #define WIRE_SCI_MASTER_INTERRUPT_COUNT 3
81
85
#endif
82
86
83
87
#if SPI_HOWMANY > 0
@@ -95,6 +99,7 @@ typedef struct sci_spi_master_irq {
95
99
spi_cfg_t * cfg;
96
100
uint8_t hw_channel;
97
101
} SciSpiMasterIrqReq_t;
102
+ #define SPI_INTERRUPT_COUNT 4
98
103
#endif
99
104
100
105
#if CAN_HOWMANY > 0
@@ -103,6 +108,7 @@ typedef struct can_irq {
103
108
can_instance_ctrl_t * ctrl;
104
109
can_cfg_t * cfg;
105
110
} CanIrqReq_t;
111
+ #define CAN_INTERRUPT_COUNT 3
106
112
#endif /* CAN_HOWMANY > 0 */
107
113
108
114
#if CANFD_HOWMANY > 0
@@ -111,8 +117,11 @@ typedef struct canfd_irq {
111
117
canfd_instance_ctrl_t * ctrl;
112
118
can_cfg_t * cfg;
113
119
} CanFdIrqReq_t;
120
+ #define CANFD_INTERRUPT_COUNT 3
114
121
#endif /* CANFD_HOWMANY > 0 */
115
122
123
+ #define SD_INTERRUPT_COUNT 2
124
+
116
125
typedef struct usb {
117
126
uint32_t num_of_irqs_required;
118
127
uint32_t address_of_handler;
You can’t perform that action at this time.
0 commit comments