#[repr(transparent)]pub struct MixCtrl(pub u32);Expand description
Mixer Control
Tuple Fields§
§0: u32Implementations§
Source§impl MixCtrl
impl MixCtrl
Sourcepub const fn set_ac12en(&mut self, val: Ac12en)
pub const fn set_ac12en(&mut self, val: Ac12en)
Auto CMD12 enable
Sourcepub const fn set_ddr_en(&mut self, val: bool)
pub const fn set_ddr_en(&mut self, val: bool)
Dual data rate mode selection
Sourcepub const fn set_dtdsel(&mut self, val: Dtdsel)
pub const fn set_dtdsel(&mut self, val: Dtdsel)
Data transfer direction select
Sourcepub const fn set_msbsel(&mut self, val: Msbsel)
pub const fn set_msbsel(&mut self, val: Msbsel)
Multi / Single block select
Sourcepub const fn nibble_pos(&self) -> bool
pub const fn nibble_pos(&self) -> bool
Nibble position indication
Sourcepub const fn set_nibble_pos(&mut self, val: bool)
pub const fn set_nibble_pos(&mut self, val: bool)
Nibble position indication
Sourcepub const fn set_ac23en(&mut self, val: bool)
pub const fn set_ac23en(&mut self, val: bool)
Auto CMD23 enable
Sourcepub const fn exe_tune(&self) -> ExeTune
pub const fn exe_tune(&self) -> ExeTune
Execute tuning: (Only used for SD3.0, SDR104 mode and EMMC HS200 mode)
Sourcepub const fn set_exe_tune(&mut self, val: ExeTune)
pub const fn set_exe_tune(&mut self, val: ExeTune)
Execute tuning: (Only used for SD3.0, SDR104 mode and EMMC HS200 mode)
Sourcepub const fn smp_clk_sel(&self) -> MixCtrlSmpClkSel
pub const fn smp_clk_sel(&self) -> MixCtrlSmpClkSel
Clock selection
Sourcepub const fn set_smp_clk_sel(&mut self, val: MixCtrlSmpClkSel)
pub const fn set_smp_clk_sel(&mut self, val: MixCtrlSmpClkSel)
Clock selection
Sourcepub const fn auto_tune_en(&self) -> AutoTuneEn
pub const fn auto_tune_en(&self) -> AutoTuneEn
Auto tuning enable (Only used for SD3.0, SDR104 mode and and EMMC HS200 mode)
Sourcepub const fn set_auto_tune_en(&mut self, val: AutoTuneEn)
pub const fn set_auto_tune_en(&mut self, val: AutoTuneEn)
Auto tuning enable (Only used for SD3.0, SDR104 mode and and EMMC HS200 mode)
Sourcepub const fn fbclk_sel(&self) -> FbclkSel
pub const fn fbclk_sel(&self) -> FbclkSel
Feedback clock source selection (Only used for SD3.0, SDR104 mode and EMMC HS200 mode)
Sourcepub const fn set_fbclk_sel(&mut self, val: FbclkSel)
pub const fn set_fbclk_sel(&mut self, val: FbclkSel)
Feedback clock source selection (Only used for SD3.0, SDR104 mode and EMMC HS200 mode)
Trait Implementations§
impl Copy for MixCtrl
impl Eq for MixCtrl
impl StructuralPartialEq for MixCtrl
Auto Trait Implementations§
impl Freeze for MixCtrl
impl RefUnwindSafe for MixCtrl
impl Send for MixCtrl
impl Sync for MixCtrl
impl Unpin for MixCtrl
impl UnwindSafe for MixCtrl
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more