File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -944,20 +944,23 @@ bool IRQManager::addPeripheral(Peripheral_t p, void *cfg) {
944
944
i2s_cfg->txi_ipl = I2S_PRIORITY;
945
945
*(irq_ptr + last_interrupt_index) = (uint32_t )ssi_txi_isr;
946
946
R_ICU->IELSR [last_interrupt_index] = BSP_PRV_IELS_ENUM (EVENT_SSI0_TXI);
947
+ R_FSP_IsrContextSet (i2s_cfg->txi_irq , (void *)i2s_cfg->p_context );
947
948
last_interrupt_index++;
948
949
}
949
950
if (i2s_cfg->rxi_irq == FSP_INVALID_VECTOR) {
950
951
i2s_cfg->rxi_irq = (IRQn_Type)last_interrupt_index;
951
952
i2s_cfg->rxi_ipl = I2S_PRIORITY;
952
953
*(irq_ptr + last_interrupt_index) = (uint32_t )ssi_rxi_isr;
953
954
R_ICU->IELSR [last_interrupt_index] = BSP_PRV_IELS_ENUM (EVENT_SSI0_RXI);
955
+ R_FSP_IsrContextSet (i2s_cfg->rxi_irq , (void *)i2s_cfg->p_context );
954
956
last_interrupt_index++;
955
957
}
956
958
if (i2s_cfg->int_irq == FSP_INVALID_VECTOR) {
957
959
i2s_cfg->int_irq = (IRQn_Type)last_interrupt_index;
958
960
i2s_cfg->idle_err_ipl = I2S_PRIORITY;
959
961
*(irq_ptr + last_interrupt_index) = (uint32_t )ssi_int_isr;
960
962
R_ICU->IELSR [last_interrupt_index] = BSP_PRV_IELS_ENUM (EVENT_SSI0_INT);
963
+ R_FSP_IsrContextSet (i2s_cfg->int_irq , (void *)i2s_cfg->p_context );
961
964
last_interrupt_index++;
962
965
}
963
966
}
You can’t perform that action at this time.
0 commit comments