title: LPC804 GPIO input declaration issue
body: <p>I am trying to declare a pin on port 0 of GPIO as input and then read its status. However, I am not able to get the status of the pin.
  to declare it as input port I am using :
  LPC_GPIO_PORT-&gt;DIR0 &amp;= ~(0xC0000);</p>
  <p>I have connected an LED to the pins and even it is declared as input, the led is still high for some reason.</p>