[][src]Enum nrf52840_hal::target::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 PartialEq<SWIDTHR> for SWIDTHR[src]

impl Clone for SWIDTHR[src]

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

Performs copy-assignment from source. Read more

impl Copy for SWIDTHR[src]

impl Debug for SWIDTHR[src]

Auto Trait Implementations

impl Send for SWIDTHR

impl Sync for SWIDTHR

Blanket Implementations

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

impl<T> Same for T

type Output = T

Should always be Self