atsamd21g::i2s::clkctrl

Type Alias R

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

Register CLKCTRL%s reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn slotsize(&self) -> SlotsizeR

Bits 0:1 - Slot Size

Source

pub fn nbslots(&self) -> NbslotsR

Bits 2:4 - Number of Slots in Frame

Source

pub fn fswidth(&self) -> FswidthR

Bits 5:6 - Frame Sync Width

Source

pub fn bitdelay(&self) -> BitdelayR

Bit 7 - Data Delay from Frame Sync

Source

pub fn fssel(&self) -> FsselR

Bit 8 - Frame Sync Select

Source

pub fn fsinv(&self) -> FsinvR

Bit 11 - Frame Sync Invert

Source

pub fn scksel(&self) -> SckselR

Bit 12 - Serial Clock Select

Source

pub fn mcksel(&self) -> MckselR

Bit 16 - Master Clock Select

Source

pub fn mcken(&self) -> MckenR

Bit 18 - Master Clock Enable

Source

pub fn mckdiv(&self) -> MckdivR

Bits 19:23 - Master Clock Division Factor

Source

pub fn mckoutdiv(&self) -> MckoutdivR

Bits 24:28 - Master Clock Output Division Factor

Source

pub fn fsoutinv(&self) -> FsoutinvR

Bit 29 - Frame Sync Output Invert

Source

pub fn sckoutinv(&self) -> SckoutinvR

Bit 30 - Serial Clock Output Invert

Source

pub fn mckoutinv(&self) -> MckoutinvR

Bit 31 - Master Clock Output Invert