Enum stm32f103xx::spi1::cr1::MSTRR [] [src]

pub enum MSTRR {
    SLAVE,
    MASTER,
}

Possible values of the field MSTR

Variants

Slave configuration

Master configuration

Methods

impl MSTRR
[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 MSTRR
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for MSTRR
[src]

impl Debug for MSTRR
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for MSTRR
[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 !=.