This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Using HWI_eventMap with a Statically Created HWI

Hi,

We're looking at using code generated by MATLAB/Simulink/Real-time Workshop.

Simulink includes a block called DSP/BIOS Hardware Interrupt which creates a HWI object using the DSP/BIOS configuration but unfortunately it does not set interruptSelectNumber. I guess this works for most C6000s, C5000s, etc. but surely not much will happen on a C64+ device?

Can I just call HWI_eventMap in an initialisation function somewhere? The description of HWI_eventMap makes it should straightforward and robust i.e. allows remapping at run-time.

Any thoughts greatly appreciated,

Matt