Programming ARM μC in Rust at four different levels of abstraction
> A GPIO pin starts out as an input; in that state, you can’t call the function set_high. It is a compile time error!<p>Which is throughly incorrect.  Of course you can set the state of an output register that’s set to input, that state will just not appear on the pin.