Struct RxEightBits

Source
pub struct RxEightBits<'d, P0, P1, P2, P3, P4, P5, P6, P7> { /* private fields */ }
Expand description

Data pin configuration for 8 bit input mode

Implementations§

Source§

impl<'d, P0, P1, P2, P3, P4, P5, P6, P7> RxEightBits<'d, P0, P1, P2, P3, P4, P5, P6, P7>
where P0: InputPin, P1: InputPin, P2: InputPin, P3: InputPin, P4: InputPin, P5: InputPin, P6: InputPin, P7: InputPin,

Source

pub fn new( pin_p0: impl Peripheral<P = P0> + 'd, pin_p1: impl Peripheral<P = P1> + 'd, pin_p2: impl Peripheral<P = P2> + 'd, pin_p3: impl Peripheral<P = P3> + 'd, pin_p4: impl Peripheral<P = P4> + 'd, pin_p5: impl Peripheral<P = P5> + 'd, pin_p6: impl Peripheral<P = P6> + 'd, pin_p7: impl Peripheral<P = P7> + 'd, ) -> RxEightBits<'d, P0, P1, P2, P3, P4, P5, P6, P7>

Auto Trait Implementations§

§

impl<'d, P0, P1, P2, P3, P4, P5, P6, P7> Freeze for RxEightBits<'d, P0, P1, P2, P3, P4, P5, P6, P7>
where P0: Freeze, P1: Freeze, P2: Freeze, P3: Freeze, P4: Freeze, P5: Freeze, P6: Freeze, P7: Freeze,

§

impl<'d, P0, P1, P2, P3, P4, P5, P6, P7> RefUnwindSafe for RxEightBits<'d, P0, P1, P2, P3, P4, P5, P6, P7>

§

impl<'d, P0, P1, P2, P3, P4, P5, P6, P7> Send for RxEightBits<'d, P0, P1, P2, P3, P4, P5, P6, P7>
where P0: Send, P1: Send, P2: Send, P3: Send, P4: Send, P5: Send, P6: Send, P7: Send,

§

impl<'d, P0, P1, P2, P3, P4, P5, P6, P7> Sync for RxEightBits<'d, P0, P1, P2, P3, P4, P5, P6, P7>
where P0: Sync, P1: Sync, P2: Sync, P3: Sync, P4: Sync, P5: Sync, P6: Sync, P7: Sync,

§

impl<'d, P0, P1, P2, P3, P4, P5, P6, P7> Unpin for RxEightBits<'d, P0, P1, P2, P3, P4, P5, P6, P7>
where P0: Unpin, P1: Unpin, P2: Unpin, P3: Unpin, P4: Unpin, P5: Unpin, P6: Unpin, P7: Unpin,

§

impl<'d, P0, P1, P2, P3, P4, P5, P6, P7> !UnwindSafe for RxEightBits<'d, P0, P1, P2, P3, P4, P5, P6, P7>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.