pub struct ClkInPin<'d> { /* private fields */ }Expand description
Wraps a GPIO pin which will be used as the TX clock input signal
Implementations§
Source§impl<'d> ClkInPin<'d>
impl<'d> ClkInPin<'d>
Sourcepub fn new(pin: impl Peripheral<P = impl PeripheralInput> + 'd) -> Self
pub fn new(pin: impl Peripheral<P = impl PeripheralInput> + 'd) -> Self
Create a new ClkInPin
Auto Trait Implementations§
impl<'d> Freeze for ClkInPin<'d>
impl<'d> RefUnwindSafe for ClkInPin<'d>
impl<'d> Send for ClkInPin<'d>
impl<'d> Sync for ClkInPin<'d>
impl<'d> Unpin for ClkInPin<'d>
impl<'d> !UnwindSafe for ClkInPin<'d>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more