pub struct InputSignal { /* private fields */ }
Available on crate feature
unstable
only.Expand description
A configurable input signal between a peripheral and a GPIO pin.
Multiple input signals can be connected to one pin.
§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.
Implementations§
Source§impl InputSignal
impl InputSignal
Trait Implementations§
Source§impl Clone for InputSignal
impl Clone for InputSignal
Source§impl From<Flex<'static>> for InputSignal
impl From<Flex<'static>> for InputSignal
Source§impl From<InputSignal> for InputConnection
impl From<InputSignal> for InputConnection
Source§fn from(input: InputSignal) -> Self
fn from(input: InputSignal) -> Self
Converts to this type from the input type.
Source§impl<P> From<P> for InputSignalwhere
P: InputPin,
impl<P> From<P> for InputSignalwhere
P: InputPin,
Source§impl Peripheral for InputSignal
impl Peripheral for InputSignal
Source§type P = InputSignal
type P = InputSignal
Peripheral singleton type
Source§unsafe fn clone_unchecked(&self) -> Self::P
unsafe fn clone_unchecked(&self) -> Self::P
Unsafely clone (duplicate) a peripheral singleton. Read more
Source§fn into_ref<'a>(self) -> PeripheralRef<'a, Self::P>where
Self: 'a,
fn into_ref<'a>(self) -> PeripheralRef<'a, Self::P>where
Self: 'a,
Convert a value into a
PeripheralRef
. Read moreimpl PeripheralInput for InputSignal
Auto Trait Implementations§
impl Freeze for InputSignal
impl RefUnwindSafe for InputSignal
impl Send for InputSignal
impl Sync for InputSignal
impl Unpin for InputSignal
impl UnwindSafe for InputSignal
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)