pub trait PeripheralInput<'d>: Into<InputSignal<'d>> + PeripheralSignal<'d> { }Expand description
A signal that can be connected to a peripheral input.
Peripheral drivers are encouraged to accept types that implement this and
PeripheralOutput as arguments instead of pin types.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl PeripheralInput<'_> for Level
Available on crate feature 
unstable only.impl PeripheralInput<'_> for NoPin
Available on crate feature 
unstable only.impl<'d> PeripheralInput<'d> for Flex<'d>
Available on crate feature 
unstable only.§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
impl<'d> PeripheralInput<'d> for Input<'d>
Available on crate feature 
unstable only.§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
impl<'d> PeripheralInput<'d> for InputSignal<'d>
Available on crate feature 
unstable only.impl<'d, P> PeripheralInput<'d> for Pwhere
    P: InputPin + 'd,
Available on crate feature 
unstable only.