Struct stm32g0::stm32g0b0::usart1::cr3::SCARCNT_W[][src]

pub struct SCARCNT_W<'a> { /* fields omitted */ }
Expand description

Field SCARCNT writer - Smartcard auto-retry count This bitfield specifies the number of retries for transmission and reception in Smartcard mode. In transmission mode, it specifies the number of automatic retransmission retries, before generating a transmission error (FE bit set). In reception mode, it specifies the number or erroneous reception trials, before generating a reception error (RXNE/RXFNE and PE bits set). This bitfield must be programmed only when the USART is disabled (UEÂ =Â 0). When the USART is enabled (UEÂ =Â 1), this bitfield may only be written to 0x0, in order to stop retransmission. Note: If Smartcard mode is not supported, this bit is reserved and must be kept at reset value. Refer to .

Implementations

Writes variant to the field

retransmission disabled - No automatic retransmission in transmit mode.

number of automatic retransmission attempts (before signaling error)

number of automatic retransmission attempts (before signaling error)

number of automatic retransmission attempts (before signaling error)

number of automatic retransmission attempts (before signaling error)

number of automatic retransmission attempts (before signaling error)

number of automatic retransmission attempts (before signaling error)

number of automatic retransmission attempts (before signaling error)

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.