lpc17xx clean code