embassy-stm32

Crates

git

Versions

stm32h747ig-cm7

Flavors

Skip to main content

ChannelSelectors8

Struct ChannelSelectors8 

Source
pub struct ChannelSelectors8<T: Instance> {
    pub ch0: Sel<T, Tcv0>,
    pub ch1: Sel<T, Tcv1>,
    pub ch2: Sel<T, Tcv2>,
    pub ch3: Sel<T, Tcv3>,
    pub ch4: Sel<T, Tcv4>,
    pub ch5: Sel<T, Tcv5>,
    pub ch6: Sel<T, Tcv6>,
    pub ch7: Sel<T, Tcv7>,
}
Expand description

The pin selectors handed to the crate::dfsdm::Dfsdm::configure_pins closure. Declare each transceiver’s pins with crate::dfsdm::Sel::datin, crate::dfsdm::Sel::datin_ckin or crate::dfsdm::Sel::none.

Fields§

§ch0: Sel<T, Tcv0>

Pin selector for transceiver 0.

§ch1: Sel<T, Tcv1>

Pin selector for transceiver 1.

§ch2: Sel<T, Tcv2>

Pin selector for transceiver 2.

§ch3: Sel<T, Tcv3>

Pin selector for transceiver 3.

§ch4: Sel<T, Tcv4>

Pin selector for transceiver 4.

§ch5: Sel<T, Tcv5>

Pin selector for transceiver 5.

§ch6: Sel<T, Tcv6>

Pin selector for transceiver 6.

§ch7: Sel<T, Tcv7>

Pin selector for transceiver 7.

Auto Trait Implementations§

§

impl<T> Freeze for ChannelSelectors8<T>
where Sel<T, Tcv0>: Freeze, Sel<T, Tcv1>: Freeze, Sel<T, Tcv2>: Freeze, Sel<T, Tcv3>: Freeze, Sel<T, Tcv4>: Freeze, Sel<T, Tcv5>: Freeze, Sel<T, Tcv6>: Freeze, Sel<T, Tcv7>: Freeze,

§

impl<T> RefUnwindSafe for ChannelSelectors8<T>

§

impl<T> Send for ChannelSelectors8<T>
where Sel<T, Tcv0>: Send, Sel<T, Tcv1>: Send, Sel<T, Tcv2>: Send, Sel<T, Tcv3>: Send, Sel<T, Tcv4>: Send, Sel<T, Tcv5>: Send, Sel<T, Tcv6>: Send, Sel<T, Tcv7>: Send,

§

impl<T> Sync for ChannelSelectors8<T>
where Sel<T, Tcv0>: Sync, Sel<T, Tcv1>: Sync, Sel<T, Tcv2>: Sync, Sel<T, Tcv3>: Sync, Sel<T, Tcv4>: Sync, Sel<T, Tcv5>: Sync, Sel<T, Tcv6>: Sync, Sel<T, Tcv7>: Sync,

§

impl<T> Unpin for ChannelSelectors8<T>
where Sel<T, Tcv0>: Unpin, Sel<T, Tcv1>: Unpin, Sel<T, Tcv2>: Unpin, Sel<T, Tcv3>: Unpin, Sel<T, Tcv4>: Unpin, Sel<T, Tcv5>: Unpin, Sel<T, Tcv6>: Unpin, Sel<T, Tcv7>: Unpin,

§

impl<T> UnsafeUnpin for ChannelSelectors8<T>

§

impl<T> UnwindSafe for ChannelSelectors8<T>

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 = !

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.