embassy-stm32

Crates

git

Versions

stm32f103c4

Flavors

Struct AfioRemap

Source
pub struct AfioRemap<const V: u8>;
Expand description

Holds the AFIO remap value for a peripheral’s pin

Trait Implementations§

Source§

impl BreakInputPin<TIM1, BkIn1, AfioRemap<0>> for PB12

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as BreakInputPin
Source§

impl BreakInputPin<TIM1, BkIn1, AfioRemap<1>> for PA6

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as BreakInputPin
Source§

impl ExternalTriggerPin<TIM1, AfioRemap<0>> for PA12

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as ExternalTriggerPin
Source§

impl ExternalTriggerPin<TIM1, AfioRemap<1>> for PA12

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as ExternalTriggerPin
Source§

impl ExternalTriggerPin<TIM2, AfioRemap<0>> for PA0

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as ExternalTriggerPin
Source§

impl ExternalTriggerPin<TIM2, AfioRemap<1>> for PA15

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as ExternalTriggerPin
Source§

impl ExternalTriggerPin<TIM2, AfioRemap<2>> for PA0

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as ExternalTriggerPin
Source§

impl ExternalTriggerPin<TIM2, AfioRemap<3>> for PA15

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as ExternalTriggerPin
Source§

impl RxPin<CAN, AfioRemap<0>> for PA11

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as RxPin
Source§

impl RxPin<CAN, AfioRemap<2>> for PB8

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as RxPin
Source§

impl TimerComplementaryPin<TIM1, Ch1, AfioRemap<0>> for PB13

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerComplementaryPin
Source§

impl TimerComplementaryPin<TIM1, Ch1, AfioRemap<1>> for PA7

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerComplementaryPin
Source§

impl TimerComplementaryPin<TIM1, Ch2, AfioRemap<0>> for PB14

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerComplementaryPin
Source§

impl TimerComplementaryPin<TIM1, Ch2, AfioRemap<1>> for PB0

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerComplementaryPin
Source§

impl TimerComplementaryPin<TIM1, Ch3, AfioRemap<0>> for PB15

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerComplementaryPin
Source§

impl TimerComplementaryPin<TIM1, Ch3, AfioRemap<1>> for PB1

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerComplementaryPin
Source§

impl TimerPin<TIM1, Ch1, AfioRemap<0>> for PA8

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TimerPin<TIM1, Ch1, AfioRemap<1>> for PA8

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TimerPin<TIM1, Ch2, AfioRemap<0>> for PA9

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TimerPin<TIM1, Ch2, AfioRemap<1>> for PA9

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TimerPin<TIM1, Ch3, AfioRemap<0>> for PA10

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TimerPin<TIM1, Ch3, AfioRemap<1>> for PA10

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TimerPin<TIM1, Ch4, AfioRemap<0>> for PA11

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TimerPin<TIM1, Ch4, AfioRemap<1>> for PA11

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TimerPin<TIM2, Ch1, AfioRemap<0>> for PA0

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TimerPin<TIM2, Ch1, AfioRemap<1>> for PA15

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TimerPin<TIM2, Ch1, AfioRemap<2>> for PA0

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TimerPin<TIM2, Ch1, AfioRemap<3>> for PA15

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TimerPin<TIM2, Ch2, AfioRemap<0>> for PA1

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TimerPin<TIM2, Ch2, AfioRemap<1>> for PB3

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TimerPin<TIM2, Ch2, AfioRemap<2>> for PA1

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TimerPin<TIM2, Ch2, AfioRemap<3>> for PB3

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TimerPin<TIM2, Ch3, AfioRemap<0>> for PA2

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TimerPin<TIM2, Ch3, AfioRemap<1>> for PA2

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TimerPin<TIM2, Ch3, AfioRemap<2>> for PB10

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TimerPin<TIM2, Ch3, AfioRemap<3>> for PB10

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TimerPin<TIM2, Ch4, AfioRemap<0>> for PA3

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TimerPin<TIM2, Ch4, AfioRemap<1>> for PA3

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TimerPin<TIM2, Ch4, AfioRemap<2>> for PB11

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TimerPin<TIM2, Ch4, AfioRemap<3>> for PB11

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TimerPin<TIM3, Ch1, AfioRemap<0>> for PA6

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TimerPin<TIM3, Ch1, AfioRemap<2>> for PB4

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TimerPin<TIM3, Ch2, AfioRemap<0>> for PA7

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TimerPin<TIM3, Ch2, AfioRemap<2>> for PB5

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TimerPin<TIM3, Ch3, AfioRemap<0>> for PB0

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TimerPin<TIM3, Ch3, AfioRemap<2>> for PB0

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TimerPin<TIM3, Ch4, AfioRemap<0>> for PB1

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TimerPin<TIM3, Ch4, AfioRemap<2>> for PB1

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TxPin<CAN, AfioRemap<0>> for PA12

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TxPin
Source§

impl TxPin<CAN, AfioRemap<2>> for PB9

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TxPin

Auto Trait Implementations§

§

impl<const V: u8> Freeze for AfioRemap<V>

§

impl<const V: u8> RefUnwindSafe for AfioRemap<V>

§

impl<const V: u8> Send for AfioRemap<V>

§

impl<const V: u8> Sync for AfioRemap<V>

§

impl<const V: u8> Unpin for AfioRemap<V>

§

impl<const V: u8> UnwindSafe for AfioRemap<V>

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.