Enum stm32f1::stm32f102::i2c1::cr1::SWRSTR[][src]

pub enum SWRSTR {
    NOTRESET,
    RESET,
}

Possible values of the field SWRST

Variants

I2C peripheral not under reset

I2C peripheral under reset

Methods

impl SWRSTR
[src]

Returns true if the bit is clear (0)

Returns true if the bit is set (1)

Value of the field as raw bits

Checks if the value of the field is NOTRESET

Checks if the value of the field is RESET

Trait Implementations

impl Clone for SWRSTR
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for SWRSTR
[src]

impl Debug for SWRSTR
[src]

Formats the value using the given formatter. Read more

impl PartialEq for SWRSTR
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for SWRSTR

impl Sync for SWRSTR