embassy-stm32

Crates

git

Versions

stm32l152rd

Flavors

Trait Channel

Source
pub trait Channel:
    PeripheralType
    + SealedChannel
    + Sized {
    // Required method
    fn number(&self) -> u8;
}
Expand description

EXTI channel trait.

Required Methods§

Source

fn number(&self) -> u8

Get the EXTI channel number.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§