embassy-stm32

Crates

git

Versions

stm32f413rg

Flavors

FSMC

Struct FSMC 

Source
pub struct FSMC { /* private fields */ }
Expand description

FSMC peripheral

Implementations§

Source§

impl FSMC

Source

pub const unsafe fn steal() -> Peri<'static, 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 A0Pin<FSMC> for PC3

Available on non-afio only.
Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as A0Pin.
Source§

impl Clone for FSMC

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl D0Pin<FSMC> for PB14

Available on non-afio only.
Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as D0Pin.
Source§

impl D1Pin<FSMC> for PC6

Available on non-afio only.
Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as D1Pin.
Source§

impl D2Pin<FSMC> for PC11

Available on non-afio only.
Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as D2Pin.
Source§

impl D3Pin<FSMC> for PC12

Available on non-afio only.
Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as D3Pin.
Source§

impl D4Pin<FSMC> for PA2

Available on non-afio only.
Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as D4Pin.
Source§

impl D5Pin<FSMC> for PA3

Available on non-afio only.
Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as D5Pin.
Source§

impl D6Pin<FSMC> for PA4

Available on non-afio only.
Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as D6Pin.
Source§

impl D7Pin<FSMC> for PA5

Available on non-afio only.
Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as D7Pin.
Source§

impl DA0Pin<FSMC> for PB14

Available on non-afio only.
Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as DA0Pin.
Source§

impl DA1Pin<FSMC> for PC6

Available on non-afio only.
Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as DA1Pin.
Source§

impl DA2Pin<FSMC> for PC11

Available on non-afio only.
Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as DA2Pin.
Source§

impl DA3Pin<FSMC> for PC12

Available on non-afio only.
Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as DA3Pin.
Source§

impl DA4Pin<FSMC> for PA2

Available on non-afio only.
Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as DA4Pin.
Source§

impl DA5Pin<FSMC> for PA3

Available on non-afio only.
Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as DA5Pin.
Source§

impl DA6Pin<FSMC> for PA4

Available on non-afio only.
Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as DA6Pin.
Source§

impl DA7Pin<FSMC> for PA5

Available on non-afio only.
Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as DA7Pin.
Source§

impl Debug for FSMC

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Format for FSMC
where (): Format,

Source§

fn format(&self, f: Formatter<'_>)

Writes the defmt representation of self to fmt.
Source§

impl NE4Pin<FSMC> for PC4

Available on non-afio only.
Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as NE4Pin.
Source§

impl NLPin<FSMC> for PB7

Available on non-afio only.
Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as NLPin.
Source§

impl NOEPin<FSMC> for PC5

Available on non-afio only.
Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as NOEPin.
Source§

impl NWEPin<FSMC> for PC2

Available on non-afio only.
Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as NWEPin.
Source§

impl NWEPin<FSMC> for PD2

Available on non-afio only.
Source§

fn af_num(&self) -> u8

Get the AF number needed to use this pin as NWEPin.
Source§

impl Copy for FSMC

Source§

impl Instance for FSMC

Source§

impl PeripheralType for FSMC

Source§

impl RccPeripheral for FSMC

Auto Trait Implementations§

§

impl Freeze for FSMC

§

impl RefUnwindSafe for FSMC

§

impl Send for FSMC

§

impl Sync for FSMC

§

impl Unpin for FSMC

§

impl UnwindSafe for FSMC

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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.
Source§

impl<_INNER> Instance for _INNER
where _INNER: PeripheralType + 'static,