[][src]Struct atsame70q19b::i2sc0::i2sc_mr::DATALENGTH_W

pub struct DATALENGTH_W<'a> { /* fields omitted */ }

Write proxy for field DATALENGTH

Implementations

impl<'a> DATALENGTH_W<'a>[src]

pub fn variant(self, variant: DATALENGTH_A) -> &'a mut W[src]

Writes variant to the field

pub fn _32_bits(self) -> &'a mut W[src]

Data length is set to 32 bits

pub fn _24_bits(self) -> &'a mut W[src]

Data length is set to 24 bits

pub fn _20_bits(self) -> &'a mut W[src]

Data length is set to 20 bits

pub fn _18_bits(self) -> &'a mut W[src]

Data length is set to 18 bits

pub fn _16_bits(self) -> &'a mut W[src]

Data length is set to 16 bits

pub fn _16_bits_compact(self) -> &'a mut W[src]

Data length is set to 16-bit compact stereo. Left sample in bits 15:0 and right sample in bits 31:16 of same word.

pub fn _8_bits(self) -> &'a mut W[src]

Data length is set to 8 bits

pub fn _8_bits_compact(self) -> &'a mut W[src]

Data length is set to 8-bit compact stereo. Left sample in bits 7:0 and right sample in bits 15:8 of the same word.

pub fn bits(self, value: u8) -> &'a mut W[src]

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Send for DATALENGTH_W<'a>

impl<'a> !Sync for DATALENGTH_W<'a>

impl<'a> Unpin for DATALENGTH_W<'a>

Blanket Implementations

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

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

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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> 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.