Type Alias W

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

Register CLKCTRL[%s] writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn slotsize(&mut self) -> SlotsizeW<'_, ClkctrlSpec>

Bits 0:1 - Slot Size

Source

pub fn nbslots(&mut self) -> NbslotsW<'_, ClkctrlSpec>

Bits 2:4 - Number of Slots in Frame

Source

pub fn fswidth(&mut self) -> FswidthW<'_, ClkctrlSpec>

Bits 5:6 - Frame Sync Width

Source

pub fn bitdelay(&mut self) -> BitdelayW<'_, ClkctrlSpec>

Bit 7 - Data Delay from Frame Sync

Source

pub fn fssel(&mut self) -> FsselW<'_, ClkctrlSpec>

Bit 8 - Frame Sync Select

Source

pub fn fsinv(&mut self) -> FsinvW<'_, ClkctrlSpec>

Bit 9 - Frame Sync Invert

Source

pub fn fsoutinv(&mut self) -> FsoutinvW<'_, ClkctrlSpec>

Bit 10 - Frame Sync Output Invert

Source

pub fn scksel(&mut self) -> SckselW<'_, ClkctrlSpec>

Bit 11 - Serial Clock Select

Source

pub fn sckoutinv(&mut self) -> SckoutinvW<'_, ClkctrlSpec>

Bit 12 - Serial Clock Output Invert

Source

pub fn mcksel(&mut self) -> MckselW<'_, ClkctrlSpec>

Bit 13 - Master Clock Select

Source

pub fn mcken(&mut self) -> MckenW<'_, ClkctrlSpec>

Bit 14 - Master Clock Enable

Source

pub fn mckoutinv(&mut self) -> MckoutinvW<'_, ClkctrlSpec>

Bit 15 - Master Clock Output Invert

Source

pub fn mckdiv(&mut self) -> MckdivW<'_, ClkctrlSpec>

Bits 16:21 - Master Clock Division Factor

Source

pub fn mckoutdiv(&mut self) -> MckoutdivW<'_, ClkctrlSpec>

Bits 24:29 - Master Clock Output Division Factor