LPC_IOCON->R_PIO1_1 |= 0x01; //set to GPIO LPC_IOCON->R_PIO1_1 &= ~(3<<3); //delete PU/PD //LPC_IOCON->R_PIO1_1 |= (1<<3); //set PD LPC_GPIO1->DIR |= (1<<1); //set output LPC_GPIO1->DATA &=~(1<<1); //set low  | 
 LPC_IOCON->R_PIO1_1 |= 0x01; LPC_IOCON->R_PIO1_1 &= ~(2<<3);  |