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

pub enum BRR {
    DIV2,
    DIV4,
    DIV8,
    DIV16,
    DIV32,
    DIV64,
    DIV128,
    DIV256,
}

Possible values of the field BR

Variants

f_PCLK/2

f_PCLK/4

f_PCLK/8

f_PCLK/16

f_PCLK/32

f_PCLK/64

f_PCLK/128

f_PCLK/256

Methods

impl BRR
[src]

[src]

Value of the field as raw bits

[src]

Checks if the value of the field is DIV2

[src]

Checks if the value of the field is DIV4

[src]

Checks if the value of the field is DIV8

[src]

Checks if the value of the field is DIV16

[src]

Checks if the value of the field is DIV32

[src]

Checks if the value of the field is DIV64

[src]

Checks if the value of the field is DIV128

[src]

Checks if the value of the field is DIV256

Trait Implementations

impl Clone for BRR
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for BRR
[src]

impl Debug for BRR
[src]

[src]

Formats the value using the given formatter. Read more

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