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

Writes variant to the field

TX/RX pins are used as defined in standard pinout

The TX and RX pins functions are swapped. This enables to work in the case of a cross-wired connection to another UART.

Sets the field bit

Clears the field bit

Writes raw bits to the field

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.