Struct stm32g0::stm32g0c1::usart1::cr3::SCARCNT_R[][src]

pub struct SCARCNT_R(_);
Expand description

Field SCARCNT reader - 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

Get enumerated values variant

Checks if the value of the field is B_0X0

Checks if the value of the field is B_0X1

Checks if the value of the field is B_0X2

Checks if the value of the field is B_0X3

Checks if the value of the field is B_0X4

Checks if the value of the field is B_0X5

Checks if the value of the field is B_0X6

Checks if the value of the field is B_0X7

Methods from Deref<Target = FieldReader<u8, SCARCNT_A>>

Reads raw bits from field.

Value of the field as raw bits.

Returns true if the bit is clear (0).

Returns true if the bit is set (1).

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

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.