Hello scott reynolds,
Somewhat understand your confusing now.

You means the PTD10(sd card detect pin) also use the PTD interrupt handler, and you also want to use the SW2 PTD11 interrupt right?
But PTD10 and PTD11 share the same PORTD_IRQHandler, so you are confusing, right?
If yes, you totally don't need to worry about it, please check these register:

So, in your PORTD_IRQHandler, you can check PORTD_PCR11[ISR] and the PORTD_PCR10[ISR].
If PORTD_PCR11[ISR] =1, it is the sd card interrupt.
If PORTD_PCR10[ISR]=1, it is your SW2 interrupt.
Wish it helps you!
If I misunderstand your questions, please also kindly let me know.
Kerry
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-----------------------------------------------------------------------------