[][src]Enum nrf52::i2s::config::swidth::SWIDTHR

pub enum SWIDTHR {
    _8BIT,
    _16BIT,
    _24BIT,
    _Reserved(u8),
}

Possible values of the field SWIDTH

Variants

_8BIT

8 bit.

_16BIT

16 bit.

_24BIT

24 bit.

_Reserved(u8)

Reserved

Methods

impl SWIDTHR[src]

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

Value of the field as raw bits

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

Checks if the value of the field is _8BIT

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

Checks if the value of the field is _16BIT

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

Checks if the value of the field is _24BIT

Trait Implementations

impl Debug for SWIDTHR[src]

impl PartialEq<SWIDTHR> for SWIDTHR[src]

impl Copy for SWIDTHR[src]

impl StructuralPartialEq for SWIDTHR[src]

impl Clone for SWIDTHR[src]

Auto Trait Implementations

impl Unpin for SWIDTHR

impl Send for SWIDTHR

impl Sync for SWIDTHR

Blanket Implementations

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

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

type Error = !

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<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