[][src]Struct arduino_mkrzero::i2s::clkctrl::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub fn reset_value() -> W[src]

Reset value of the register

pub unsafe fn bits(&mut self, bits: u32) -> &mut W[src]

Writes raw bits to the register

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

Bits 0:1 - Slot Size

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

Bits 2:4 - Number of Slots in Frame

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

Bits 5:6 - Frame Sync Width

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

Bit 7 - Data Delay from Frame Sync

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

Bit 8 - Frame Sync Select

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

Bit 11 - Frame Sync Invert

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

Bit 12 - Serial Clock Select

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

Bit 16 - Master Clock Select

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

Bit 18 - Master Clock Enable

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

Bits 19:23 - Master Clock Division Factor

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

Bits 24:28 - Master Clock Output Division Factor

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

Bit 29 - Frame Sync Output Invert

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

Bit 30 - Serial Clock Output Invert

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

Bit 31 - Master Clock Output Invert

Auto Trait Implementations

impl Send for W

impl Sync for W

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]