[][src]Struct samd21_mini::i2s::serctrl::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub fn reset_value() -> W[src]

Reset value of the register

pub unsafe fn bits(&mut self, bits: u32) -> &mut W[src]

Writes raw bits to the register

pub fn sermode(&mut self) -> _SERMODEW[src]

Bits 0:1 - Serializer Mode

pub fn txdefault(&mut self) -> _TXDEFAULTW[src]

Bits 2:3 - Line Default Line when Slot Disabled

pub fn txsame(&mut self) -> _TXSAMEW[src]

Bit 4 - Transmit Data when Underrun

pub fn clksel(&mut self) -> _CLKSELW[src]

Bit 5 - Clock Unit Selection

pub fn slotadj(&mut self) -> _SLOTADJW[src]

Bit 7 - Data Slot Formatting Adjust

pub fn datasize(&mut self) -> _DATASIZEW[src]

Bits 8:10 - Data Word Size

pub fn wordadj(&mut self) -> _WORDADJW[src]

Bit 12 - Data Word Formatting Adjust

pub fn extend(&mut self) -> _EXTENDW[src]

Bits 13:14 - Data Formatting Bit Extension

pub fn bitrev(&mut self) -> _BITREVW[src]

Bit 15 - Data Formatting Bit Reverse

pub fn slotdis0(&mut self) -> _SLOTDIS0W[src]

Bit 16 - Slot 0 Disabled for this Serializer

pub fn slotdis1(&mut self) -> _SLOTDIS1W[src]

Bit 17 - Slot 1 Disabled for this Serializer

pub fn slotdis2(&mut self) -> _SLOTDIS2W[src]

Bit 18 - Slot 2 Disabled for this Serializer

pub fn slotdis3(&mut self) -> _SLOTDIS3W[src]

Bit 19 - Slot 3 Disabled for this Serializer

pub fn slotdis4(&mut self) -> _SLOTDIS4W[src]

Bit 20 - Slot 4 Disabled for this Serializer

pub fn slotdis5(&mut self) -> _SLOTDIS5W[src]

Bit 21 - Slot 5 Disabled for this Serializer

pub fn slotdis6(&mut self) -> _SLOTDIS6W[src]

Bit 22 - Slot 6 Disabled for this Serializer

pub fn slotdis7(&mut self) -> _SLOTDIS7W[src]

Bit 23 - Slot 7 Disabled for this Serializer

pub fn mono(&mut self) -> _MONOW[src]

Bit 24 - Mono Mode

pub fn dma(&mut self) -> _DMAW[src]

Bit 25 - Single or Multiple DMA Channels

pub fn rxloop(&mut self) -> _RXLOOPW[src]

Bit 26 - Loop-back Test Mode

Auto Trait Implementations

impl Send for W

impl Sync for W

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]