[][src]Enum stm32f3::stm32f303::spi1::cr2::DSR

pub enum DSR {
    FOURBIT,
    FIVEBIT,
    SIXBIT,
    SEVENBIT,
    EIGHTBIT,
    NINEBIT,
    TENBIT,
    ELEVENBIT,
    TWELVEBIT,
    THIRTEENBIT,
    FOURTEENBIT,
    FIFTEENBIT,
    SIXTEENBIT,
    _Reserved(u8),
}

Possible values of the field DS

Variants

FOURBIT

4-bit

FIVEBIT

5-bit

SIXBIT

6-bit

SEVENBIT

7-bit

EIGHTBIT

8-bit

NINEBIT

9-bit

TENBIT

10-bit

ELEVENBIT

11-bit

TWELVEBIT

12-bit

THIRTEENBIT

13-bit

FOURTEENBIT

14-bit

FIFTEENBIT

15-bit

SIXTEENBIT

16-bit

_Reserved(u8)

Reserved

Methods

impl DSR[src]

pub fn bits(&self) -> u8[src]

Value of the field as raw bits

pub fn is_four_bit(&self) -> bool[src]

Checks if the value of the field is FOURBIT

pub fn is_five_bit(&self) -> bool[src]

Checks if the value of the field is FIVEBIT

pub fn is_six_bit(&self) -> bool[src]

Checks if the value of the field is SIXBIT

pub fn is_seven_bit(&self) -> bool[src]

Checks if the value of the field is SEVENBIT

pub fn is_eight_bit(&self) -> bool[src]

Checks if the value of the field is EIGHTBIT

pub fn is_nine_bit(&self) -> bool[src]

Checks if the value of the field is NINEBIT

pub fn is_ten_bit(&self) -> bool[src]

Checks if the value of the field is TENBIT

pub fn is_eleven_bit(&self) -> bool[src]

Checks if the value of the field is ELEVENBIT

pub fn is_twelve_bit(&self) -> bool[src]

Checks if the value of the field is TWELVEBIT

pub fn is_thirteen_bit(&self) -> bool[src]

Checks if the value of the field is THIRTEENBIT

pub fn is_fourteen_bit(&self) -> bool[src]

Checks if the value of the field is FOURTEENBIT

pub fn is_fifteen_bit(&self) -> bool[src]

Checks if the value of the field is FIFTEENBIT

pub fn is_sixteen_bit(&self) -> bool[src]

Checks if the value of the field is SIXTEENBIT

Trait Implementations

impl Debug for DSR[src]

impl PartialEq<DSR> for DSR[src]

impl Copy for DSR[src]

impl Clone for DSR[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Unpin for DSR

impl Sync for DSR

impl Send for DSR

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self