embassy-stm32

Crates

git

Versions

stm32l4r7zi

Flavors

Interface

Trait Interface 

Source
pub trait Interface {
    type Pins<'d>;

    const PIN_COUNT: usize;
}
Expand description

LTDC Interface trait

Required Associated Constants§

Source

const PIN_COUNT: usize

Number of pins used by the interface

Required Associated Types§

Source

type Pins<'d>

Pins type

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§

Source§

impl Interface for DSI

Source§

const PIN_COUNT: usize = 0usize

Source§

type Pins<'d> = ()

Source§

impl Interface for Rgb565

Source§

const PIN_COUNT: usize = 20usize

Source§

type Pins<'d> = [Flex<'d>; 20]

Source§

impl Interface for Rgb666

Source§

const PIN_COUNT: usize = 22usize

Source§

type Pins<'d> = [Flex<'d>; 22]

Source§

impl Interface for Rgb888

Source§

const PIN_COUNT: usize = 28usize

Source§

type Pins<'d> = [Flex<'d>; 28]