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.

What Vector?



I am stubbing unused vectors to a dummy routine. Fairly basic precaution.

However, now I want to add some diagnostic information to that routine. Is there a method to tell what vector led to the routine being called? Maybe a register to read in the NVIC? I've not found the information to do that yet but I could easily have missed it.

Robert