embassy-stm32

Crates

git

Versions

stm32g0c1ve

Flavors

AnyChannel

Struct AnyChannel 

Source
pub struct AnyChannel { /* private fields */ }
๐Ÿ‘ŽDeprecated: type-erased EXTI channels are no longer supported, in order to support manually bindable EXTI interrupts (more info: https://github.com/embassy-rs/embassy/pull/4922)
Expand description

Deprecated type-erased EXTI channel.

Support for AnyChannel was removed in order to support manually bindable EXTI interrupts via bind_interrupts; ExtiInput::new() must know the required IRQ at compile time, and therefore cannot support type-erased channels.

Trait Implementationsยง

Sourceยง

impl From<EXTI0> for AnyChannel

Sourceยง

fn from(_val: EXTI0) -> Self

Converts to this type from the input type.
Sourceยง

impl From<EXTI1> for AnyChannel

Sourceยง

fn from(_val: EXTI1) -> Self

Converts to this type from the input type.
Sourceยง

impl From<EXTI10> for AnyChannel

Sourceยง

fn from(_val: EXTI10) -> Self

Converts to this type from the input type.
Sourceยง

impl From<EXTI11> for AnyChannel

Sourceยง

fn from(_val: EXTI11) -> Self

Converts to this type from the input type.
Sourceยง

impl From<EXTI12> for AnyChannel

Sourceยง

fn from(_val: EXTI12) -> Self

Converts to this type from the input type.
Sourceยง

impl From<EXTI13> for AnyChannel

Sourceยง

fn from(_val: EXTI13) -> Self

Converts to this type from the input type.
Sourceยง

impl From<EXTI14> for AnyChannel

Sourceยง

fn from(_val: EXTI14) -> Self

Converts to this type from the input type.
Sourceยง

impl From<EXTI15> for AnyChannel

Sourceยง

fn from(_val: EXTI15) -> Self

Converts to this type from the input type.
Sourceยง

impl From<EXTI2> for AnyChannel

Sourceยง

fn from(_val: EXTI2) -> Self

Converts to this type from the input type.
Sourceยง

impl From<EXTI3> for AnyChannel

Sourceยง

fn from(_val: EXTI3) -> Self

Converts to this type from the input type.
Sourceยง

impl From<EXTI4> for AnyChannel

Sourceยง

fn from(_val: EXTI4) -> Self

Converts to this type from the input type.
Sourceยง

impl From<EXTI5> for AnyChannel

Sourceยง

fn from(_val: EXTI5) -> Self

Converts to this type from the input type.
Sourceยง

impl From<EXTI6> for AnyChannel

Sourceยง

fn from(_val: EXTI6) -> Self

Converts to this type from the input type.
Sourceยง

impl From<EXTI7> for AnyChannel

Sourceยง

fn from(_val: EXTI7) -> Self

Converts to this type from the input type.
Sourceยง

impl From<EXTI8> for AnyChannel

Sourceยง

fn from(_val: EXTI8) -> Self

Converts to this type from the input type.
Sourceยง

impl From<EXTI9> for AnyChannel

Sourceยง

fn from(_val: EXTI9) -> Self

Converts to this type from the input type.

Auto Trait Implementationsยง

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.