embassy-stm32

Crates

git

Versions

stm32f102cb

Flavors

AfioRemap

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 CkPin<USART3, AfioRemap<0>> for PB12

Sourceยง

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as CkPin.
Sourceยง

impl CtsPin<USART3, AfioRemap<0>> for PB13

Sourceยง

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as CtsPin.
Sourceยง

impl CtsPin<USART3, AfioRemap<1>> for PB13

Sourceยง

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as CtsPin.
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 RtsPin<USART3, AfioRemap<0>> for PB14

Sourceยง

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as RtsPin.
Sourceยง

impl RtsPin<USART3, AfioRemap<1>> for PB14

Sourceยง

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as RtsPin.
Sourceยง

impl RxPin<USART3, AfioRemap<0>> for PB11

Sourceยง

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as RxPin.
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<USART3, AfioRemap<0>> for PB10

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.