Hi Experts,
According to the TRM, it seems there are 6 software interruptions available for the user.
SINT10, 27, 28, 29, 30 and 31.
Q1) Are all 6 software interrupts available for a user code?
Q2) Could you please share an example code for the software interruption?
I write the code below. I am not sure that it works or not.
I would to have an example code like this.
#define SINT10_EVENT 10
main(){
...
config.funcAddr = & SWint10;
IRQ_plug(SINT10_EVENT, config.funcAddr);
...
INTR_FUNC ( SWint10 , SINT10_EVENT );
…
}
interrupt void SWint10 (void){
...
}
Thank you for your kind help.
Best regards,
Hitoshi