atsamd21g::i2s::serctrl

Type Alias R

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

Register SERCTRL%s reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn sermode(&self) -> SermodeR

Bits 0:1 - Serializer Mode

Source

pub fn txdefault(&self) -> TxdefaultR

Bits 2:3 - Line Default Line when Slot Disabled

Source

pub fn txsame(&self) -> TxsameR

Bit 4 - Transmit Data when Underrun

Source

pub fn clksel(&self) -> ClkselR

Bit 5 - Clock Unit Selection

Source

pub fn slotadj(&self) -> SlotadjR

Bit 7 - Data Slot Formatting Adjust

Source

pub fn datasize(&self) -> DatasizeR

Bits 8:10 - Data Word Size

Source

pub fn wordadj(&self) -> WordadjR

Bit 12 - Data Word Formatting Adjust

Source

pub fn extend(&self) -> ExtendR

Bits 13:14 - Data Formatting Bit Extension

Source

pub fn bitrev(&self) -> BitrevR

Bit 15 - Data Formatting Bit Reverse

Source

pub fn slotdis0(&self) -> Slotdis0R

Bit 16 - Slot 0 Disabled for this Serializer

Source

pub fn slotdis1(&self) -> Slotdis1R

Bit 17 - Slot 1 Disabled for this Serializer

Source

pub fn slotdis2(&self) -> Slotdis2R

Bit 18 - Slot 2 Disabled for this Serializer

Source

pub fn slotdis3(&self) -> Slotdis3R

Bit 19 - Slot 3 Disabled for this Serializer

Source

pub fn slotdis4(&self) -> Slotdis4R

Bit 20 - Slot 4 Disabled for this Serializer

Source

pub fn slotdis5(&self) -> Slotdis5R

Bit 21 - Slot 5 Disabled for this Serializer

Source

pub fn slotdis6(&self) -> Slotdis6R

Bit 22 - Slot 6 Disabled for this Serializer

Source

pub fn slotdis7(&self) -> Slotdis7R

Bit 23 - Slot 7 Disabled for this Serializer

Source

pub fn mono(&self) -> MonoR

Bit 24 - Mono Mode

Source

pub fn dma(&self) -> DmaR

Bit 25 - Single or Multiple DMA Channels

Source

pub fn rxloop(&self) -> RxloopR

Bit 26 - Loop-back Test Mode