embassy-stm32

Crates

git

Versions

stm32l4r9ai

Flavors

embassy_stm32::peripherals

Struct LTDC

Source
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 B0Pin<LTDC> for PF12

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 B1Pin<LTDC> for PF13

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 DePin<LTDC> for PF11

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 G0Pin<LTDC> for PF14

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 G1Pin<LTDC> for PF15

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 Instance for LTDC

Source§

type Interrupt = LTDC

Interrupt for this LTDC instance.
Source§

impl Peripheral for LTDC

Source§

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 R0Pin<LTDC> for PG13

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 R1Pin<LTDC> for PG6

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 PE1

Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as VsyncPin
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>,

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.