pub struct W(_);
Expand description
Register MAPR
writer
Implementations§
source§impl W
impl W
sourcepub fn spi1_remap(&mut self) -> BitWriterRaw<'_, u32, MAPR_SPEC, bool, BitM, 0>
pub fn spi1_remap(&mut self) -> BitWriterRaw<'_, u32, MAPR_SPEC, bool, BitM, 0>
Bit 0 - SPI1 remapping
sourcepub fn i2c1_remap(&mut self) -> BitWriterRaw<'_, u32, MAPR_SPEC, bool, BitM, 1>
pub fn i2c1_remap(&mut self) -> BitWriterRaw<'_, u32, MAPR_SPEC, bool, BitM, 1>
Bit 1 - I2C1 remapping
sourcepub fn usart1_remap(
&mut self
) -> BitWriterRaw<'_, u32, MAPR_SPEC, bool, BitM, 2>
pub fn usart1_remap(
&mut self
) -> BitWriterRaw<'_, u32, MAPR_SPEC, bool, BitM, 2>
Bit 2 - USART1 remapping
sourcepub fn usart2_remap(
&mut self
) -> BitWriterRaw<'_, u32, MAPR_SPEC, bool, BitM, 3>
pub fn usart2_remap(
&mut self
) -> BitWriterRaw<'_, u32, MAPR_SPEC, bool, BitM, 3>
Bit 3 - USART2 remapping
sourcepub fn usart3_remap(
&mut self
) -> FieldWriterRaw<'_, u32, MAPR_SPEC, u8, u8, Unsafe, 2, 4>
pub fn usart3_remap(
&mut self
) -> FieldWriterRaw<'_, u32, MAPR_SPEC, u8, u8, Unsafe, 2, 4>
Bits 4:5 - USART3 remapping
sourcepub fn tim1_remap(
&mut self
) -> FieldWriterRaw<'_, u32, MAPR_SPEC, u8, u8, Unsafe, 2, 6>
pub fn tim1_remap(
&mut self
) -> FieldWriterRaw<'_, u32, MAPR_SPEC, u8, u8, Unsafe, 2, 6>
Bits 6:7 - TIM1 remapping
sourcepub fn tim2_remap(
&mut self
) -> FieldWriterRaw<'_, u32, MAPR_SPEC, u8, u8, Unsafe, 2, 8>
pub fn tim2_remap(
&mut self
) -> FieldWriterRaw<'_, u32, MAPR_SPEC, u8, u8, Unsafe, 2, 8>
Bits 8:9 - TIM2 remapping
sourcepub fn tim3_remap(
&mut self
) -> FieldWriterRaw<'_, u32, MAPR_SPEC, u8, u8, Unsafe, 2, 10>
pub fn tim3_remap(
&mut self
) -> FieldWriterRaw<'_, u32, MAPR_SPEC, u8, u8, Unsafe, 2, 10>
Bits 10:11 - TIM3 remapping
sourcepub fn tim4_remap(&mut self) -> BitWriterRaw<'_, u32, MAPR_SPEC, bool, BitM, 12>
pub fn tim4_remap(&mut self) -> BitWriterRaw<'_, u32, MAPR_SPEC, bool, BitM, 12>
Bit 12 - TIM4 remapping
sourcepub fn can_remap(
&mut self
) -> FieldWriterRaw<'_, u32, MAPR_SPEC, u8, u8, Unsafe, 2, 13>
pub fn can_remap(
&mut self
) -> FieldWriterRaw<'_, u32, MAPR_SPEC, u8, u8, Unsafe, 2, 13>
Bits 13:14 - CAN1 remapping
sourcepub fn pd01_remap(&mut self) -> BitWriterRaw<'_, u32, MAPR_SPEC, bool, BitM, 15>
pub fn pd01_remap(&mut self) -> BitWriterRaw<'_, u32, MAPR_SPEC, bool, BitM, 15>
Bit 15 - Port D0/Port D1 mapping on OSCIN/OSCOUT
sourcepub fn tim5ch4_iremap(
&mut self
) -> BitWriterRaw<'_, u32, MAPR_SPEC, bool, BitM, 16>
pub fn tim5ch4_iremap(
&mut self
) -> BitWriterRaw<'_, u32, MAPR_SPEC, bool, BitM, 16>
Bit 16 - Set and cleared by software
sourcepub fn adc1_etrginj_remap(
&mut self
) -> BitWriterRaw<'_, u32, MAPR_SPEC, bool, BitM, 17>
pub fn adc1_etrginj_remap(
&mut self
) -> BitWriterRaw<'_, u32, MAPR_SPEC, bool, BitM, 17>
Bit 17 - ADC 1 External trigger injected conversion remapping
sourcepub fn adc1_etrgreg_remap(
&mut self
) -> BitWriterRaw<'_, u32, MAPR_SPEC, bool, BitM, 18>
pub fn adc1_etrgreg_remap(
&mut self
) -> BitWriterRaw<'_, u32, MAPR_SPEC, bool, BitM, 18>
Bit 18 - ADC 1 external trigger regular conversion remapping
sourcepub fn adc2_etrginj_remap(
&mut self
) -> BitWriterRaw<'_, u32, MAPR_SPEC, bool, BitM, 19>
pub fn adc2_etrginj_remap(
&mut self
) -> BitWriterRaw<'_, u32, MAPR_SPEC, bool, BitM, 19>
Bit 19 - ADC 2 external trigger injected conversion remapping
sourcepub fn adc2_etrgreg_remap(
&mut self
) -> BitWriterRaw<'_, u32, MAPR_SPEC, bool, BitM, 20>
pub fn adc2_etrgreg_remap(
&mut self
) -> BitWriterRaw<'_, u32, MAPR_SPEC, bool, BitM, 20>
Bit 20 - ADC 2 external trigger regular conversion remapping
Methods from Deref<Target = W<MAPR_SPEC>>§
sourcepub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.