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]

Value of the field as raw bits

Checks if the value of the field is DIV2

Checks if the value of the field is DIV4

Checks if the value of the field is DIV8

Checks if the value of the field is DIV16

Checks if the value of the field is DIV32

Checks if the value of the field is DIV64

Checks if the value of the field is DIV128

Checks if the value of the field is DIV256

Trait Implementations

impl Clone for BRR
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for BRR
[src]

impl Debug for BRR
[src]

Formats the value using the given formatter. Read more

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

impl Sync for BRR