pub struct RxPinConfigWithValidPin<'d, P>where
P: NotContainsValidSignalPin + RxPins + ConfigurePins,{ /* private fields */ }Expand description
Pin configuration with an additional pin for the valid signal.
Implementations§
Source§impl<'d, P> RxPinConfigWithValidPin<'d, P>where
P: NotContainsValidSignalPin + RxPins + ConfigurePins,
impl<'d, P> RxPinConfigWithValidPin<'d, P>where
P: NotContainsValidSignalPin + RxPins + ConfigurePins,
Sourcepub fn new(
rx_pins: P,
valid_pin: impl PeripheralInput<'d>,
enable_mode: EnableMode,
) -> Self
pub fn new( rx_pins: P, valid_pin: impl PeripheralInput<'d>, enable_mode: EnableMode, ) -> Self
Create a new RxPinConfigWithValidPin
Auto Trait Implementations§
impl<'d, P> Freeze for RxPinConfigWithValidPin<'d, P>where
P: Freeze,
impl<'d, P> RefUnwindSafe for RxPinConfigWithValidPin<'d, P>where
P: RefUnwindSafe,
impl<'d, P> Send for RxPinConfigWithValidPin<'d, P>where
P: Send,
impl<'d, P> Sync for RxPinConfigWithValidPin<'d, P>where
P: Sync,
impl<'d, P> Unpin for RxPinConfigWithValidPin<'d, P>where
P: Unpin,
impl<'d, P> !UnwindSafe for RxPinConfigWithValidPin<'d, P>
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