Hello All,
I am using S32K116 micro controller. I am using Cortex M0. I am looking in to documentation and can not find how to: trigger interrupt via software
I want trigger interrupt handler function but there is not NVIC register for this work.
For example, can I trigger the LPSPI0_IRQHandlerfunction on my own request? or LPUART0_RxTx_IRQHandler.
Cortex M4 has NVIC->STIR and SCB->CCR for that.
- SCB->CCR - USERSETMPEND[1:1]: Controls unprivileged access to STIR. Should be 1 to trigger interrupt in unprivileged mode.
- NVIC->STIR - INTID[8:0]: Triggers the interrupt of the written IRQ number.