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