News for hackers. Stuff that matters.
Re:Programming ARM μC in Rust at four different levels of ab... by Doxin on Friday February 23, 2018 @06:05AM (#16445578)
Wouldn't you then write two sets of functions? set_high, set_low, enable_pullup, disable_pullup. Now internally set_high and enable_pullup might do the exact same thing, but externally they signal intent and prevent you from trying to set a pullup on an output for example.

There are no comments on this comment yet.