I have done interrupt handling with the CSL INTC library before, but I would like to use DSP/BIOS. I would like to know if the following steps are enough to configure the DSP/BIOS to handle an SRIO triggered event.
1) The SRIO peripheral condition routing register (ICRR) is configured for INTDST0.
2) From the data sheet, I can find that INTDST0 is EVENT #20. So I need to configure the DSP/BIOS to handle EVENT20 and call a custom function.
3) In the DSP/BIOS, I select HWI_4 and enable the "use dispatcher" option, and leave the argument at 0x0.
4) In the DSP/BIOS, I enable the event combiner (ECM).
5) In the DSP/BIOS, I select EVENT20 and assign to the function _srio_INTDST0 and unmask the event. (srio_INTDST0 is a function I have provided)
6) In the main() function, I enable GIE in the CSR register and IE4 in the IER register using inline assembly.
Will these steps route the event to my custom handler function which will clear the interrupt in the peripheral's ICCR register?
Thank you for your help!