So something like this?
Yes, but don't forget to clear the interrupt request flag for the interrupt in question before you RESUME.

/Henrik.