embassy-stm32

Crates

git

Versions

stm32f100zc

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 PF0

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as A0Pin.
Source§

impl A10Pin<FSMC> for PG0

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as A10Pin.
Source§

impl A11Pin<FSMC> for PG1

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as A11Pin.
Source§

impl A12Pin<FSMC> for PG2

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as A12Pin.
Source§

impl A13Pin<FSMC> for PG3

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as A13Pin.
Source§

impl A14Pin<FSMC> for PG4

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as A14Pin.
Source§

impl A15Pin<FSMC> for PG5

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as A15Pin.
Source§

impl A16Pin<FSMC> for PD11

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as A16Pin.
Source§

impl A17Pin<FSMC> for PD12

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as A17Pin.
Source§

impl A18Pin<FSMC> for PD13

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as A18Pin.
Source§

impl A19Pin<FSMC> for PE3

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as A19Pin.
Source§

impl A1Pin<FSMC> for PF1

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as A1Pin.
Source§

impl A20Pin<FSMC> for PE4

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as A20Pin.
Source§

impl A21Pin<FSMC> for PE5

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as A21Pin.
Source§

impl A22Pin<FSMC> for PE6

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as A22Pin.
Source§

impl A23Pin<FSMC> for PE2

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as A23Pin.
Source§

impl A24Pin<FSMC> for PG13

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as A24Pin.
Source§

impl A25Pin<FSMC> for PG14

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as A25Pin.
Source§

impl A2Pin<FSMC> for PF2

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as A2Pin.
Source§

impl A3Pin<FSMC> for PF3

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as A3Pin.
Source§

impl A4Pin<FSMC> for PF4

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as A4Pin.
Source§

impl A5Pin<FSMC> for PF5

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as A5Pin.
Source§

impl A6Pin<FSMC> for PF12

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as A6Pin.
Source§

impl A7Pin<FSMC> for PF13

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as A7Pin.
Source§

impl A8Pin<FSMC> for PF14

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as A8Pin.
Source§

impl A9Pin<FSMC> for PF15

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as A9Pin.
Source§

impl ClkPin<FSMC> for PD3

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as ClkPin.
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 PD14

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as D0Pin.
Source§

impl D10Pin<FSMC> for PE13

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as D10Pin.
Source§

impl D11Pin<FSMC> for PE14

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as D11Pin.
Source§

impl D12Pin<FSMC> for PE15

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as D12Pin.
Source§

impl D13Pin<FSMC> for PD8

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as D13Pin.
Source§

impl D14Pin<FSMC> for PD9

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as D14Pin.
Source§

impl D15Pin<FSMC> for PD10

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as D15Pin.
Source§

impl D1Pin<FSMC> for PD15

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as D1Pin.
Source§

impl D2Pin<FSMC> for PD0

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as D2Pin.
Source§

impl D3Pin<FSMC> for PD1

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as D3Pin.
Source§

impl D4Pin<FSMC> for PE7

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as D4Pin.
Source§

impl D5Pin<FSMC> for PE8

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as D5Pin.
Source§

impl D6Pin<FSMC> for PE9

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as D6Pin.
Source§

impl D7Pin<FSMC> for PE10

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as D7Pin.
Source§

impl D8Pin<FSMC> for PE11

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as D8Pin.
Source§

impl D9Pin<FSMC> for PE12

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as D9Pin.
Source§

impl DA0Pin<FSMC> for PD14

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as DA0Pin.
Source§

impl DA10Pin<FSMC> for PE13

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as DA10Pin.
Source§

impl DA11Pin<FSMC> for PE14

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as DA11Pin.
Source§

impl DA12Pin<FSMC> for PE15

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as DA12Pin.
Source§

impl DA13Pin<FSMC> for PD8

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as DA13Pin.
Source§

impl DA14Pin<FSMC> for PD9

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as DA14Pin.
Source§

impl DA15Pin<FSMC> for PD10

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as DA15Pin.
Source§

impl DA1Pin<FSMC> for PD15

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as DA1Pin.
Source§

impl DA2Pin<FSMC> for PD0

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as DA2Pin.
Source§

impl DA3Pin<FSMC> for PD1

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as DA3Pin.
Source§

impl DA4Pin<FSMC> for PE7

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as DA4Pin.
Source§

impl DA5Pin<FSMC> for PE8

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as DA5Pin.
Source§

impl DA6Pin<FSMC> for PE9

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as DA6Pin.
Source§

impl DA7Pin<FSMC> for PE10

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as DA7Pin.
Source§

impl DA8Pin<FSMC> for PE11

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as DA8Pin.
Source§

impl DA9Pin<FSMC> for PE12

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as DA9Pin.
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 NBL0Pin<FSMC> for PE0

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as NBL0Pin.
Source§

impl NBL1Pin<FSMC> for PE1

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as NBL1Pin.
Source§

impl NE1Pin<FSMC> for PD7

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as NE1Pin.
Source§

impl NE2Pin<FSMC> for PG9

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as NE2Pin.
Source§

impl NE3Pin<FSMC> for PG10

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as NE3Pin.
Source§

impl NE4Pin<FSMC> for PG12

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as NE4Pin.
Source§

impl NLPin<FSMC> for PB7

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as NLPin.
Source§

impl NOEPin<FSMC> for PD4

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as NOEPin.
Source§

impl NWEPin<FSMC> for PD5

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as NWEPin.
Source§

impl NWaitPin<FSMC> for PD6

Available on afio only.
Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as NWaitPin.
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,