LPC17xx check if we are in handler, to avoid usb deadlock