pub trait ConfigureInputOutput: Configure {
    fn make_input_output(&self) -> Configuration;
    fn is_input_output(&self) -> bool;
}
Expand description

Configuration trait for pins that can be simultaneously input and output. Having this trait allows an implementation to statically verify this is possible.

Required Methods

Make the pin a simultaneously input and output; should always return Configuration::InputOutput.

Implementors