atsamd21j::i2s::serctrl

Type Alias W

Source
pub type W = W<SerctrlSpec>;
Expand description

Register SERCTRL%s writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn sermode(&mut self) -> SermodeW<'_, SerctrlSpec>

Bits 0:1 - Serializer Mode

Source

pub fn txdefault(&mut self) -> TxdefaultW<'_, SerctrlSpec>

Bits 2:3 - Line Default Line when Slot Disabled

Source

pub fn txsame(&mut self) -> TxsameW<'_, SerctrlSpec>

Bit 4 - Transmit Data when Underrun

Source

pub fn clksel(&mut self) -> ClkselW<'_, SerctrlSpec>

Bit 5 - Clock Unit Selection

Source

pub fn slotadj(&mut self) -> SlotadjW<'_, SerctrlSpec>

Bit 7 - Data Slot Formatting Adjust

Source

pub fn datasize(&mut self) -> DatasizeW<'_, SerctrlSpec>

Bits 8:10 - Data Word Size

Source

pub fn wordadj(&mut self) -> WordadjW<'_, SerctrlSpec>

Bit 12 - Data Word Formatting Adjust

Source

pub fn extend(&mut self) -> ExtendW<'_, SerctrlSpec>

Bits 13:14 - Data Formatting Bit Extension

Source

pub fn bitrev(&mut self) -> BitrevW<'_, SerctrlSpec>

Bit 15 - Data Formatting Bit Reverse

Source

pub fn slotdis0(&mut self) -> Slotdis0W<'_, SerctrlSpec>

Bit 16 - Slot 0 Disabled for this Serializer

Source

pub fn slotdis1(&mut self) -> Slotdis1W<'_, SerctrlSpec>

Bit 17 - Slot 1 Disabled for this Serializer

Source

pub fn slotdis2(&mut self) -> Slotdis2W<'_, SerctrlSpec>

Bit 18 - Slot 2 Disabled for this Serializer

Source

pub fn slotdis3(&mut self) -> Slotdis3W<'_, SerctrlSpec>

Bit 19 - Slot 3 Disabled for this Serializer

Source

pub fn slotdis4(&mut self) -> Slotdis4W<'_, SerctrlSpec>

Bit 20 - Slot 4 Disabled for this Serializer

Source

pub fn slotdis5(&mut self) -> Slotdis5W<'_, SerctrlSpec>

Bit 21 - Slot 5 Disabled for this Serializer

Source

pub fn slotdis6(&mut self) -> Slotdis6W<'_, SerctrlSpec>

Bit 22 - Slot 6 Disabled for this Serializer

Source

pub fn slotdis7(&mut self) -> Slotdis7W<'_, SerctrlSpec>

Bit 23 - Slot 7 Disabled for this Serializer

Source

pub fn mono(&mut self) -> MonoW<'_, SerctrlSpec>

Bit 24 - Mono Mode

Source

pub fn dma(&mut self) -> DmaW<'_, SerctrlSpec>

Bit 25 - Single or Multiple DMA Channels

Source

pub fn rxloop(&mut self) -> RxloopW<'_, SerctrlSpec>

Bit 26 - Loop-back Test Mode