mbedmicro/mbed — pull request #247 by Sissors (2014-04-03 07:23:49+00:00)
Title: Mode added to BusIn + allow creation of NC pins

Now BusIn can also use PullUp, etc, instead of only BusInOut.

If the pin is NC, it does get to the init, but all write/mode functions
are disabled. This is how it used to be in the old gpio version. Quite
some libraries allow users to make pins NC, and they are all locking up
with the current mbed version. This is far from a perfect solution, but
more a temporary fix.