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]

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 SLAVE

Checks if the value of the field is MASTER

Trait Implementations

impl Clone for MSTRR
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for MSTRR
[src]

impl Debug for MSTRR
[src]

Formats the value using the given formatter. Read more

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

impl Sync for MSTRR