[][src]Struct sodaq_one::i2s::clkctrl::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R[src]

pub fn bits(&self) -> u32[src]

Value of the register as raw bits

pub fn slotsize(&self) -> SLOTSIZER[src]

Bits 0:1 - Slot Size

pub fn nbslots(&self) -> NBSLOTSR[src]

Bits 2:4 - Number of Slots in Frame

pub fn fswidth(&self) -> FSWIDTHR[src]

Bits 5:6 - Frame Sync Width

pub fn bitdelay(&self) -> BITDELAYR[src]

Bit 7 - Data Delay from Frame Sync

pub fn fssel(&self) -> FSSELR[src]

Bit 8 - Frame Sync Select

pub fn fsinv(&self) -> FSINVR[src]

Bit 11 - Frame Sync Invert

pub fn scksel(&self) -> SCKSELR[src]

Bit 12 - Serial Clock Select

pub fn mcksel(&self) -> MCKSELR[src]

Bit 16 - Master Clock Select

pub fn mcken(&self) -> MCKENR[src]

Bit 18 - Master Clock Enable

pub fn mckdiv(&self) -> MCKDIVR[src]

Bits 19:23 - Master Clock Division Factor

pub fn mckoutdiv(&self) -> MCKOUTDIVR[src]

Bits 24:28 - Master Clock Output Division Factor

pub fn fsoutinv(&self) -> FSOUTINVR[src]

Bit 29 - Frame Sync Output Invert

pub fn sckoutinv(&self) -> SCKOUTINVR[src]

Bit 30 - Serial Clock Output Invert

pub fn mckoutinv(&self) -> MCKOUTINVR[src]

Bit 31 - Master Clock Output Invert

Auto Trait Implementations

impl Send for R

impl Sync for R

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]