Enum stm32f103xx::i2c1::sr2::MSLR [] [src]

pub enum MSLR {
    SLAVE,
    MASTER,
}

Possible values of the field MSL

Variants

Slave Mode

Master Mode

Methods

impl MSLR
[src]

[src]

Returns true if the bit is clear (0)

[src]

Returns true if the bit is set (1)

[src]

Value of the field as raw bits

[src]

Checks if the value of the field is SLAVE

[src]

Checks if the value of the field is MASTER

Trait Implementations

impl Clone for MSLR
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for MSLR
[src]

impl Debug for MSLR
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for MSLR
[src]

[src]

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

1.0.0
[src]

This method tests for !=.