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
impl Mapr2
pub const fn tim15_remap(&self) -> bool
pub const fn tim15_remap(&self) -> bool
TIM15 remapping
pub fn set_tim15_remap(&mut self, val: bool)
pub fn set_tim15_remap(&mut self, val: bool)
TIM15 remapping
pub const fn tim16_remap(&self) -> bool
pub const fn tim16_remap(&self) -> bool
TIM16 remapping
pub fn set_tim16_remap(&mut self, val: bool)
pub fn set_tim16_remap(&mut self, val: bool)
TIM16 remapping
pub const fn tim17_remap(&self) -> bool
pub const fn tim17_remap(&self) -> bool
TIM17 remapping
pub fn set_tim17_remap(&mut self, val: bool)
pub fn set_tim17_remap(&mut self, val: bool)
TIM17 remapping
pub fn set_cec_remap(&mut self, val: bool)
pub fn set_cec_remap(&mut self, val: bool)
CEC remapping
pub const fn tim1_dma_remap(&self) -> bool
pub const fn tim1_dma_remap(&self) -> bool
TIM1 DMA remapping
pub fn set_tim1_dma_remap(&mut self, val: bool)
pub fn set_tim1_dma_remap(&mut self, val: bool)
TIM1 DMA remapping
pub const fn tim9_remap(&self) -> bool
pub const fn tim9_remap(&self) -> bool
TIM9 remapping
pub fn set_tim9_remap(&mut self, val: bool)
pub fn set_tim9_remap(&mut self, val: bool)
TIM9 remapping
pub const fn tim10_remap(&self) -> bool
pub const fn tim10_remap(&self) -> bool
TIM10 remapping
pub fn set_tim10_remap(&mut self, val: bool)
pub fn set_tim10_remap(&mut self, val: bool)
TIM10 remapping
pub const fn tim11_remap(&self) -> bool
pub const fn tim11_remap(&self) -> bool
TIM11 remapping
pub fn set_tim11_remap(&mut self, val: bool)
pub fn set_tim11_remap(&mut self, val: bool)
TIM11 remapping
pub const fn tim13_remap(&self) -> bool
pub const fn tim13_remap(&self) -> bool
TIM13 remapping
pub fn set_tim13_remap(&mut self, val: bool)
pub fn set_tim13_remap(&mut self, val: bool)
TIM13 remapping
pub const fn tim14_remap(&self) -> bool
pub const fn tim14_remap(&self) -> bool
TIM14 remapping
pub fn set_tim14_remap(&mut self, val: bool)
pub fn set_tim14_remap(&mut self, val: bool)
TIM14 remapping
pub fn set_fsmc_nadv(&mut self, val: bool)
pub fn set_fsmc_nadv(&mut self, val: bool)
NADV connect/disconnect
pub const fn tim67_dac_dma_remap(&self) -> bool
pub const fn tim67_dac_dma_remap(&self) -> bool
TIM67_DAC DMA remapping
pub fn set_tim67_dac_dma_remap(&mut self, val: bool)
pub fn set_tim67_dac_dma_remap(&mut self, val: bool)
TIM67_DAC DMA remapping
pub const fn tim12_remap(&self) -> bool
pub const fn tim12_remap(&self) -> bool
TIM12 remapping
pub fn set_tim12_remap(&mut self, val: bool)
pub fn set_tim12_remap(&mut self, val: bool)
TIM12 remapping
pub const fn misc_remap(&self) -> bool
pub const fn misc_remap(&self) -> bool
Miscellaneous features remapping
pub fn set_misc_remap(&mut self, val: bool)
pub fn set_misc_remap(&mut self, val: bool)
Miscellaneous features remapping
Trait Implementations§
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> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)