LPC17xx GPIO interrupt fixes: lpc17_setintedge() must be atomic.  Can't disable interrupts from interrupt handlers because they are automatically re-enabled.  Try re-configuring pin instead.