Type Alias atsame54n::i2s::clkctrl::R

source ·
pub type R = R<CLKCTRL_SPEC>;
Expand description

Register CLKCTRL[%s] reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn slotsize(&self) -> SLOTSIZE_R

Bits 0:1 - Slot Size

source

pub fn nbslots(&self) -> NBSLOTS_R

Bits 2:4 - Number of Slots in Frame

source

pub fn fswidth(&self) -> FSWIDTH_R

Bits 5:6 - Frame Sync Width

source

pub fn bitdelay(&self) -> BITDELAY_R

Bit 7 - Data Delay from Frame Sync

source

pub fn fssel(&self) -> FSSEL_R

Bit 8 - Frame Sync Select

source

pub fn fsinv(&self) -> FSINV_R

Bit 9 - Frame Sync Invert

source

pub fn fsoutinv(&self) -> FSOUTINV_R

Bit 10 - Frame Sync Output Invert

source

pub fn scksel(&self) -> SCKSEL_R

Bit 11 - Serial Clock Select

source

pub fn sckoutinv(&self) -> SCKOUTINV_R

Bit 12 - Serial Clock Output Invert

source

pub fn mcksel(&self) -> MCKSEL_R

Bit 13 - Master Clock Select

source

pub fn mcken(&self) -> MCKEN_R

Bit 14 - Master Clock Enable

source

pub fn mckoutinv(&self) -> MCKOUTINV_R

Bit 15 - Master Clock Output Invert

source

pub fn mckdiv(&self) -> MCKDIV_R

Bits 16:21 - Master Clock Division Factor

source

pub fn mckoutdiv(&self) -> MCKOUTDIV_R

Bits 24:29 - Master Clock Output Division Factor