[][src]Trait kernel::hil::gpio::ConfigureInputOutput

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

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

fn make_input_output(&self) -> Configuration

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

fn is_input_output(&self) -> bool

Loading content...


Loading content...