This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Setting ILVL of PSW within Interrupt

I am modifing the ILVL of PSW within an ISR (level 15) to reduce the CPU priority (level 10) in order to allow other ISRs to interrupt the current function after the most time-critical part is over.

The ISR is using a separate RegisterBank (declared with the "using" attribute). It seems that due to the seperate RegisterBank no other ISR is able to interrupt the function after PSW is modified accordingly.

I did not expect this behaviour (not an expert).
Is it correct or do I have to take care for additional things to make this mechanism work?