Type Alias atsame54n::i2s::rxctrl::W

source ·
pub type W = W<RXCTRL_SPEC>;
Expand description

Register RXCTRL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn sermode(&mut self) -> SERMODE_W<'_, RXCTRL_SPEC, 0>

Bits 0:1 - Serializer Mode

source

pub fn clksel(&mut self) -> CLKSEL_W<'_, RXCTRL_SPEC, 5>

Bit 5 - Clock Unit Selection

source

pub fn slotadj(&mut self) -> SLOTADJ_W<'_, RXCTRL_SPEC, 7>

Bit 7 - Data Slot Formatting Adjust

source

pub fn datasize(&mut self) -> DATASIZE_W<'_, RXCTRL_SPEC, 8>

Bits 8:10 - Data Word Size

source

pub fn wordadj(&mut self) -> WORDADJ_W<'_, RXCTRL_SPEC, 12>

Bit 12 - Data Word Formatting Adjust

source

pub fn extend(&mut self) -> EXTEND_W<'_, RXCTRL_SPEC, 13>

Bits 13:14 - Data Formatting Bit Extension

source

pub fn bitrev(&mut self) -> BITREV_W<'_, RXCTRL_SPEC, 15>

Bit 15 - Data Formatting Bit Reverse

source

pub fn slotdis0(&mut self) -> SLOTDIS0_W<'_, RXCTRL_SPEC, 16>

Bit 16 - Slot 0 Disabled for this Serializer

source

pub fn slotdis1(&mut self) -> SLOTDIS1_W<'_, RXCTRL_SPEC, 17>

Bit 17 - Slot 1 Disabled for this Serializer

source

pub fn slotdis2(&mut self) -> SLOTDIS2_W<'_, RXCTRL_SPEC, 18>

Bit 18 - Slot 2 Disabled for this Serializer

source

pub fn slotdis3(&mut self) -> SLOTDIS3_W<'_, RXCTRL_SPEC, 19>

Bit 19 - Slot 3 Disabled for this Serializer

source

pub fn slotdis4(&mut self) -> SLOTDIS4_W<'_, RXCTRL_SPEC, 20>

Bit 20 - Slot 4 Disabled for this Serializer

source

pub fn slotdis5(&mut self) -> SLOTDIS5_W<'_, RXCTRL_SPEC, 21>

Bit 21 - Slot 5 Disabled for this Serializer

source

pub fn slotdis6(&mut self) -> SLOTDIS6_W<'_, RXCTRL_SPEC, 22>

Bit 22 - Slot 6 Disabled for this Serializer

source

pub fn slotdis7(&mut self) -> SLOTDIS7_W<'_, RXCTRL_SPEC, 23>

Bit 23 - Slot 7 Disabled for this Serializer

source

pub fn mono(&mut self) -> MONO_W<'_, RXCTRL_SPEC, 24>

Bit 24 - Mono Mode

source

pub fn dma(&mut self) -> DMA_W<'_, RXCTRL_SPEC, 25>

Bit 25 - Single or Multiple DMA Channels

source

pub fn rxloop(&mut self) -> RXLOOP_W<'_, RXCTRL_SPEC, 26>

Bit 26 - Loop-back Test Mode

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual