Struct gd32vf103_pac::afio::pcf0::W
source · pub struct W(_);
Expand description
Register PCF0
writer
Implementations§
source§impl W
impl W
sourcepub fn spi0_remap(&mut self) -> SPI0_REMAP_W<'_, 0>
pub fn spi0_remap(&mut self) -> SPI0_REMAP_W<'_, 0>
Bit 0 - SPI0 remapping
sourcepub fn i2c0_remap(&mut self) -> I2C0_REMAP_W<'_, 1>
pub fn i2c0_remap(&mut self) -> I2C0_REMAP_W<'_, 1>
Bit 1 - I2C0 remapping
sourcepub fn usart0_remap(&mut self) -> USART0_REMAP_W<'_, 2>
pub fn usart0_remap(&mut self) -> USART0_REMAP_W<'_, 2>
Bit 2 - USART0 remapping
sourcepub fn usart1_remap(&mut self) -> USART1_REMAP_W<'_, 3>
pub fn usart1_remap(&mut self) -> USART1_REMAP_W<'_, 3>
Bit 3 - USART1 remapping
sourcepub fn usart2_remap(&mut self) -> USART2_REMAP_W<'_, 4>
pub fn usart2_remap(&mut self) -> USART2_REMAP_W<'_, 4>
Bits 4:5 - USART2 remapping
sourcepub fn timer0_remap(&mut self) -> TIMER0_REMAP_W<'_, 6>
pub fn timer0_remap(&mut self) -> TIMER0_REMAP_W<'_, 6>
Bits 6:7 - TIMER0 remapping
sourcepub fn timer1_remap(&mut self) -> TIMER1_REMAP_W<'_, 8>
pub fn timer1_remap(&mut self) -> TIMER1_REMAP_W<'_, 8>
Bits 8:9 - TIMER1 remapping
sourcepub fn timer2_remap(&mut self) -> TIMER2_REMAP_W<'_, 10>
pub fn timer2_remap(&mut self) -> TIMER2_REMAP_W<'_, 10>
Bits 10:11 - TIMER2 remapping
sourcepub fn timer3_remap(&mut self) -> TIMER3_REMAP_W<'_, 12>
pub fn timer3_remap(&mut self) -> TIMER3_REMAP_W<'_, 12>
Bit 12 - TIMER3 remapping
sourcepub fn can0_remap(&mut self) -> CAN0_REMAP_W<'_, 13>
pub fn can0_remap(&mut self) -> CAN0_REMAP_W<'_, 13>
Bits 13:14 - CAN0 alternate interface remapping
sourcepub fn pd01_remap(&mut self) -> PD01_REMAP_W<'_, 15>
pub fn pd01_remap(&mut self) -> PD01_REMAP_W<'_, 15>
Bit 15 - Port D0/Port D1 mapping on OSC_IN/OSC_OUT
sourcepub fn timer4ch3_iremap(&mut self) -> TIMER4CH3_IREMAP_W<'_, 16>
pub fn timer4ch3_iremap(&mut self) -> TIMER4CH3_IREMAP_W<'_, 16>
Bit 16 - TIMER4 channel3 internal remapping
sourcepub fn can1_remap(&mut self) -> CAN1_REMAP_W<'_, 22>
pub fn can1_remap(&mut self) -> CAN1_REMAP_W<'_, 22>
Bit 22 - CAN1 I/O remapping
sourcepub fn spi2_remap(&mut self) -> SPI2_REMAP_W<'_, 28>
pub fn spi2_remap(&mut self) -> SPI2_REMAP_W<'_, 28>
Bit 28 - SPI2/I2S2 remapping
sourcepub fn timer1iti1_remap(&mut self) -> TIMER1ITI1_REMAP_W<'_, 29>
pub fn timer1iti1_remap(&mut self) -> TIMER1ITI1_REMAP_W<'_, 29>
Bit 29 - TIMER1 internal trigger 1 remapping
Methods from Deref<Target = W<PCF0_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
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