Struct stm32f103xx::afio::mapr::W
[−]
[src]
pub struct W { /* fields omitted */ }
Value to write to the register
Methods
impl W
[src]
pub fn reset_value() -> W
[src]
Reset value of the register
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
Writes raw bits to the register
pub fn spi1_remap(&mut self) -> _SPI1_REMAPW
[src]
Bit 0 - SPI1 remapping
pub fn i2c1_remap(&mut self) -> _I2C1_REMAPW
[src]
Bit 1 - I2C1 remapping
pub fn usart1_remap(&mut self) -> _USART1_REMAPW
[src]
Bit 2 - USART1 remapping
pub fn usart2_remap(&mut self) -> _USART2_REMAPW
[src]
Bit 3 - USART2 remapping
pub fn usart3_remap(&mut self) -> _USART3_REMAPW
[src]
Bits 4:5 - USART3 remapping
pub fn tim1_remap(&mut self) -> _TIM1_REMAPW
[src]
Bits 6:7 - TIM1 remapping
pub fn tim2_remap(&mut self) -> _TIM2_REMAPW
[src]
Bits 8:9 - TIM2 remapping
pub fn tim3_remap(&mut self) -> _TIM3_REMAPW
[src]
Bits 10:11 - TIM3 remapping
pub fn tim4_remap(&mut self) -> _TIM4_REMAPW
[src]
Bit 12 - TIM4 remapping
pub fn can_remap(&mut self) -> _CAN_REMAPW
[src]
Bits 13:14 - CAN1 remapping
pub fn pd01_remap(&mut self) -> _PD01_REMAPW
[src]
Bit 15 - Port D0/Port D1 mapping on OSCIN/OSCOUT
pub fn tim5ch4_iremap(&mut self) -> _TIM5CH4_IREMAPW
[src]
Bit 16 - Set and cleared by software
pub fn adc1_etrginj_remap(&mut self) -> _ADC1_ETRGINJ_REMAPW
[src]
Bit 17 - ADC 1 External trigger injected conversion remapping
pub fn adc1_etrgreg_remap(&mut self) -> _ADC1_ETRGREG_REMAPW
[src]
Bit 18 - ADC 1 external trigger regular conversion remapping
pub fn adc2_etrginj_remap(&mut self) -> _ADC2_ETRGINJ_REMAPW
[src]
Bit 19 - ADC 2 external trigger injected conversion remapping
pub fn adc2_etrgreg_remap(&mut self) -> _ADC2_ETRGREG_REMAPW
[src]
Bit 20 - ADC 2 external trigger regular conversion remapping
pub fn swj_cfg(&mut self) -> _SWJ_CFGW
[src]
Bits 24:26 - Serial wire JTAG configuration