embassy-stm32

Crates

git

Versions

stm32f101vf

Flavors

Struct AfioRemapBool

Source
pub struct AfioRemapBool<const V: bool>;
Expand description

Holds the AFIO remap value for a peripheral’s pin

Trait Implementations§

Source§

impl CkPin<USART1, AfioRemapBool<false>> for PA8

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as CkPin
Source§

impl CkPin<USART1, AfioRemapBool<true>> for PA8

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as CkPin
Source§

impl CkPin<USART2, AfioRemapBool<false>> for PA4

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as CkPin
Source§

impl CkPin<USART2, AfioRemapBool<true>> for PD7

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as CkPin
Source§

impl CsPin<SPI1, AfioRemapBool<false>> for PA4

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as CsPin
Source§

impl CsPin<SPI1, AfioRemapBool<true>> for PA15

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as CsPin
Source§

impl CsPin<SPI3, AfioRemapBool<false>> for PA15

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as CsPin
Source§

impl CtsPin<USART1, AfioRemapBool<false>> for PA11

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as CtsPin
Source§

impl CtsPin<USART1, AfioRemapBool<true>> for PA11

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as CtsPin
Source§

impl CtsPin<USART2, AfioRemapBool<false>> for PA0

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as CtsPin
Source§

impl CtsPin<USART2, AfioRemapBool<true>> for PD3

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as CtsPin
Source§

impl ExternalTriggerPin<TIM4, AfioRemapBool<false>> for PE0

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as ExternalTriggerPin
Source§

impl ExternalTriggerPin<TIM4, AfioRemapBool<true>> for PE0

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as ExternalTriggerPin
Source§

impl MisoPin<SPI1, AfioRemapBool<false>> for PA6

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as MisoPin
Source§

impl MisoPin<SPI1, AfioRemapBool<true>> for PB4

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as MisoPin
Source§

impl MisoPin<SPI3, AfioRemapBool<false>> for PB4

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as MisoPin
Source§

impl MosiPin<SPI1, AfioRemapBool<false>> for PA7

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as MosiPin
Source§

impl MosiPin<SPI1, AfioRemapBool<true>> for PB5

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as MosiPin
Source§

impl MosiPin<SPI3, AfioRemapBool<false>> for PB5

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as MosiPin
Source§

impl RtsPin<USART1, AfioRemapBool<false>> for PA12

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as RtsPin
Source§

impl RtsPin<USART1, AfioRemapBool<true>> for PA12

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as RtsPin
Source§

impl RtsPin<USART2, AfioRemapBool<false>> for PA1

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as RtsPin
Source§

impl RtsPin<USART2, AfioRemapBool<true>> for PD4

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as RtsPin
Source§

impl RxPin<USART1, AfioRemapBool<false>> for PA10

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as RxPin
Source§

impl RxPin<USART1, AfioRemapBool<true>> for PB7

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as RxPin
Source§

impl RxPin<USART2, AfioRemapBool<false>> for PA3

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as RxPin
Source§

impl RxPin<USART2, AfioRemapBool<true>> for PD6

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as RxPin
Source§

impl SckPin<SPI1, AfioRemapBool<false>> for PA5

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as SckPin
Source§

impl SckPin<SPI1, AfioRemapBool<true>> for PB3

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as SckPin
Source§

impl SckPin<SPI3, AfioRemapBool<false>> for PB3

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as SckPin
Source§

impl SclPin<I2C1, AfioRemapBool<false>> for PB6

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as SclPin
Source§

impl SclPin<I2C1, AfioRemapBool<true>> for PB8

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as SclPin
Source§

impl SdaPin<I2C1, AfioRemapBool<false>> for PB7

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as SdaPin
Source§

impl SdaPin<I2C1, AfioRemapBool<true>> for PB9

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as SdaPin
Source§

impl TimerPin<TIM10, Ch1, AfioRemapBool<false>> for PB8

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TimerPin<TIM11, Ch1, AfioRemapBool<false>> for PB9

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TimerPin<TIM13, Ch1, AfioRemapBool<false>> for PA6

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TimerPin<TIM14, Ch1, AfioRemapBool<false>> for PA7

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TimerPin<TIM4, Ch1, AfioRemapBool<false>> for PB6

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TimerPin<TIM4, Ch1, AfioRemapBool<true>> for PD12

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TimerPin<TIM4, Ch2, AfioRemapBool<false>> for PB7

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TimerPin<TIM4, Ch2, AfioRemapBool<true>> for PD13

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TimerPin<TIM4, Ch3, AfioRemapBool<false>> for PB8

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TimerPin<TIM4, Ch3, AfioRemapBool<true>> for PD14

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TimerPin<TIM4, Ch4, AfioRemapBool<false>> for PB9

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TimerPin<TIM4, Ch4, AfioRemapBool<true>> for PD15

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TimerPin<TIM9, Ch1, AfioRemapBool<false>> for PA2

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TimerPin<TIM9, Ch1, AfioRemapBool<true>> for PE5

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TimerPin<TIM9, Ch2, AfioRemapBool<false>> for PA3

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TimerPin<TIM9, Ch2, AfioRemapBool<true>> for PE6

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TimerPin
Source§

impl TxPin<USART1, AfioRemapBool<false>> for PA9

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TxPin
Source§

impl TxPin<USART1, AfioRemapBool<true>> for PB6

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TxPin
Source§

impl TxPin<USART2, AfioRemapBool<false>> for PA2

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TxPin
Source§

impl TxPin<USART2, AfioRemapBool<true>> for PD5

Source§

fn afio_remap(&self)

Configures AFIO_MAPR to use this pin as TxPin

Auto Trait Implementations§

§

impl<const V: bool> Freeze for AfioRemapBool<V>

§

impl<const V: bool> RefUnwindSafe for AfioRemapBool<V>

§

impl<const V: bool> Send for AfioRemapBool<V>

§

impl<const V: bool> Sync for AfioRemapBool<V>

§

impl<const V: bool> Unpin for AfioRemapBool<V>

§

impl<const V: bool> UnwindSafe for AfioRemapBool<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.