stm32-metapac

Crates

git

Versions

stm32f100vc

Flavors

Struct stm32_metapac::afio::regs::Mapr2

#[repr(transparent)]
pub struct Mapr2(pub u32);
Expand description

AF remap and debug I/O configuration register

Tuple Fields§

§0: u32

Implementations§

§

impl Mapr2

pub const fn tim15_remap(&self) -> bool

TIM15 remapping

pub fn set_tim15_remap(&mut self, val: bool)

TIM15 remapping

pub const fn tim16_remap(&self) -> bool

TIM16 remapping

pub fn set_tim16_remap(&mut self, val: bool)

TIM16 remapping

pub const fn tim17_remap(&self) -> bool

TIM17 remapping

pub fn set_tim17_remap(&mut self, val: bool)

TIM17 remapping

pub const fn cec_remap(&self) -> bool

CEC remapping

pub fn set_cec_remap(&mut self, val: bool)

CEC remapping

pub const fn tim1_dma_remap(&self) -> bool

TIM1 DMA remapping

pub fn set_tim1_dma_remap(&mut self, val: bool)

TIM1 DMA remapping

pub const fn tim9_remap(&self) -> bool

TIM9 remapping

pub fn set_tim9_remap(&mut self, val: bool)

TIM9 remapping

pub const fn tim10_remap(&self) -> bool

TIM10 remapping

pub fn set_tim10_remap(&mut self, val: bool)

TIM10 remapping

pub const fn tim11_remap(&self) -> bool

TIM11 remapping

pub fn set_tim11_remap(&mut self, val: bool)

TIM11 remapping

pub const fn tim13_remap(&self) -> bool

TIM13 remapping

pub fn set_tim13_remap(&mut self, val: bool)

TIM13 remapping

pub const fn tim14_remap(&self) -> bool

TIM14 remapping

pub fn set_tim14_remap(&mut self, val: bool)

TIM14 remapping

pub const fn fsmc_nadv(&self) -> bool

NADV connect/disconnect

pub fn set_fsmc_nadv(&mut self, val: bool)

NADV connect/disconnect

pub const fn tim67_dac_dma_remap(&self) -> bool

TIM67_DAC DMA remapping

pub fn set_tim67_dac_dma_remap(&mut self, val: bool)

TIM67_DAC DMA remapping

pub const fn tim12_remap(&self) -> bool

TIM12 remapping

pub fn set_tim12_remap(&mut self, val: bool)

TIM12 remapping

pub const fn misc_remap(&self) -> bool

Miscellaneous features remapping

pub fn set_misc_remap(&mut self, val: bool)

Miscellaneous features remapping

Trait Implementations§

§

impl Clone for Mapr2

§

fn clone(&self) -> Mapr2

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
§

impl Default for Mapr2

§

fn default() -> Mapr2

Returns the “default value” for a type. Read more
§

impl PartialEq for Mapr2

§

fn eq(&self, other: &Mapr2) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl Copy for Mapr2

§

impl Eq for Mapr2

§

impl StructuralPartialEq for Mapr2

Auto Trait Implementations§

§

impl Freeze for Mapr2

§

impl RefUnwindSafe for Mapr2

§

impl Send for Mapr2

§

impl Sync for Mapr2

§

impl Unpin for Mapr2

§

impl UnwindSafe for Mapr2

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, dst: *mut T)

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