nxp-pac

Crates

git

Versions

mimxrt685s_cm33

Flavors

MixCtrl

Struct MixCtrl 

Source
#[repr(transparent)]
pub struct MixCtrl(pub u32);
Expand description

Mixer Control

Tuple Fields§

§0: u32

Implementations§

Source§

impl MixCtrl

Source

pub const fn dmaen(&self) -> Dmaen

DMA Enable

Source

pub const fn set_dmaen(&mut self, val: Dmaen)

DMA Enable

Source

pub const fn bcen(&self) -> Bcen

Block Count Enable

Source

pub const fn set_bcen(&mut self, val: Bcen)

Block Count Enable

Source

pub const fn ac12en(&self) -> Ac12en

Auto CMD12 Enable

Source

pub const fn set_ac12en(&mut self, val: Ac12en)

Auto CMD12 Enable

Source

pub const fn ddr_en(&self) -> bool

Dual Data Rate mode selection

Source

pub const fn set_ddr_en(&mut self, val: bool)

Dual Data Rate mode selection

Source

pub const fn dtdsel(&self) -> Dtdsel

Data Transfer Direction Select

Source

pub const fn set_dtdsel(&mut self, val: Dtdsel)

Data Transfer Direction Select

Source

pub const fn msbsel(&self) -> Msbsel

Multi / Single Block Select

Source

pub const fn set_msbsel(&mut self, val: Msbsel)

Multi / Single Block Select

Source

pub const fn nibble_pos(&self) -> bool

NIBBLE_POS

Source

pub const fn set_nibble_pos(&mut self, val: bool)

NIBBLE_POS

Source

pub const fn ac23en(&self) -> bool

Auto CMD23 Enable

Source

pub const fn set_ac23en(&mut self, val: bool)

Auto CMD23 Enable

Source

pub const fn exe_tune(&self) -> ExeTune

Execute Tuning: (Only used for SD3.0, SDR104 mode and EMMC HS200 mode)

Source

pub const fn set_exe_tune(&mut self, val: ExeTune)

Execute Tuning: (Only used for SD3.0, SDR104 mode and EMMC HS200 mode)

Source

pub const fn smp_clk_sel(&self) -> MixCtrlSmpClkSel

SMP_CLK_SEL

Source

pub const fn set_smp_clk_sel(&mut self, val: MixCtrlSmpClkSel)

SMP_CLK_SEL

Source

pub const fn auto_tune_en(&self) -> AutoTuneEn

Auto Tuning Enable (Only used for SD3.0, SDR104 mode and and EMMC HS200 mode)

Source

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)

Source

pub const fn fbclk_sel(&self) -> FbclkSel

Feedback Clock Source Selection (Only used for SD3.0, SDR104 mode and EMMC HS200 mode)

Source

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)

Source

pub const fn hs400_mode(&self) -> bool

Enable HS400 Mode

Source

pub const fn set_hs400_mode(&mut self, val: bool)

Enable HS400 Mode

Trait Implementations§

Source§

impl Clone for MixCtrl

Source§

fn clone(&self) -> MixCtrl

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for MixCtrl

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for MixCtrl

Source§

fn default() -> MixCtrl

Returns the “default value” for a type. Read more
Source§

impl PartialEq for MixCtrl

Source§

fn eq(&self, other: &MixCtrl) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for MixCtrl

Source§

impl Eq for MixCtrl

Source§

impl StructuralPartialEq for MixCtrl

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.