Embassy
embassy-stm32

Crates

git

Versions

stm32u5a9vj

Flavors

Struct embassy_stm32::peripherals::LTDC

·
pub struct LTDC { /* private fields */ }
Expand description

LTDC peripheral

Implementations§

source§

impl LTDC

source

pub unsafe fn steal() -> Self

Unsafely create an instance of this peripheral out of thin air.

§Safety

You must ensure that you’re only using one instance of this type at a time.

Trait Implementations§

source§

impl B0Pin<LTDC> for PE4

source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as B0Pin
source§

impl B1Pin<LTDC> for PB2

source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as B1Pin
source§

impl B1Pin<LTDC> for PB8

source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as B1Pin
source§

impl B2Pin<LTDC> for PD14

source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as B2Pin
source§

impl B3Pin<LTDC> for PD15

source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as B3Pin
source§

impl B4Pin<LTDC> for PD0

source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as B4Pin
source§

impl B5Pin<LTDC> for PD1

source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as B5Pin
source§

impl B6Pin<LTDC> for PE7

source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as B6Pin
source§

impl B7Pin<LTDC> for PE8

source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as B7Pin
source§

impl ClkPin<LTDC> for PD3

source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as ClkPin
source§

impl DePin<LTDC> for PD6

source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as DePin
source§

impl G0Pin<LTDC> for PE5

source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as G0Pin
source§

impl G1Pin<LTDC> for PE6

source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as G1Pin
source§

impl G2Pin<LTDC> for PE9

source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as G2Pin
source§

impl G3Pin<LTDC> for PE10

source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as G3Pin
source§

impl G4Pin<LTDC> for PE11

source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as G4Pin
source§

impl G5Pin<LTDC> for PE12

source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as G5Pin
source§

impl G6Pin<LTDC> for PE13

source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as G6Pin
source§

impl G7Pin<LTDC> for PE14

source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as G7Pin
source§

impl HsyncPin<LTDC> for PE0

source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as HsyncPin
source§

impl Peripheral for LTDC

§

type P = LTDC

Peripheral singleton type
source§

unsafe fn clone_unchecked(&self) -> Self::P

Unsafely clone (duplicate) a peripheral singleton. Read more
source§

fn into_ref<'a>(self) -> PeripheralRef<'a, Self::P>
where Self: 'a,

Convert a value into a PeripheralRef. Read more
source§

impl R0Pin<LTDC> for PC6

source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as R0Pin
source§

impl R0Pin<LTDC> for PE2

source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as R0Pin
source§

impl R1Pin<LTDC> for PC7

source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as R1Pin
source§

impl R1Pin<LTDC> for PE3

source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as R1Pin
source§

impl R2Pin<LTDC> for PE15

source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as R2Pin
source§

impl R3Pin<LTDC> for PD8

source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as R3Pin
source§

impl R4Pin<LTDC> for PD9

source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as R4Pin
source§

impl R5Pin<LTDC> for PD10

source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as R5Pin
source§

impl R6Pin<LTDC> for PD11

source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as R6Pin
source§

impl R7Pin<LTDC> for PD12

source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as R7Pin
source§

impl VsyncPin<LTDC> for PD13

source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as VsyncPin
source§

impl Instance for LTDC

source§

impl RccPeripheral for LTDC

Auto Trait Implementations§

§

impl Freeze for LTDC

§

impl RefUnwindSafe for LTDC

§

impl Send for LTDC

§

impl Sync for LTDC

§

impl Unpin for LTDC

§

impl UnwindSafe for LTDC

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>,

§

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>,

§

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.