Struct stm32g0::stm32g0c1::usart1::cr2::SWAP_W [−][src]
pub struct SWAP_W<'a> { /* fields omitted */ }
Expand description
Field SWAP
writer - Swap TX/RX pins This bit is set and cleared by software. This bitfield can only be written when the USART is disabled (UEÂ =Â 0).
Implementations
The TX and RX pins functions are swapped. This enables to work in the case of a cross-wired connection to another UART.