How To Clear An Interrupt Flag On Arduino Zero

lpaulson:
Hey @MartinL how do you figure Digital pin 7 goes to PA21, from the Schematic it looks like PA21 goes to the ATN jumper. Am I missing somthing?

Check the variant files of the board, where every pin number are mapped.