nxp-pac

Crates

git

Versions

mcxn536

Flavors

UsdhcAlphaFieldsetUniform

Struct UsdhcAlphaFieldsetUniform 

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

Mixer Control.

Tuple Fields§

§0: u32

Implementations§

Source§

impl UsdhcAlphaFieldsetUniform

Source

pub const fn dmaen(&self) -> bool

DMA enable. Raw bit values: false (0) = DmainB: Disable.; true (1) = DmainA: Enable.

Source

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

DMA enable. Raw bit values: false (0) = DmainB: Disable.; true (1) = DmainA: Enable.

Source

pub const fn bcen(&self) -> bool

Block count enable. Raw bit values: false (0) = BcenB: Disable.; true (1) = BcenA: Enable.

Source

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

Block count enable. Raw bit values: false (0) = BcenB: Disable.; true (1) = BcenA: Enable.

Source

pub const fn ac12en(&self) -> bool

Auto CMD12 enable. Raw bit values: false (0) = Ac12enB: Disable.; true (1) = Ac12enA: Enable.

Source

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

Auto CMD12 enable. Raw bit values: false (0) = Ac12enB: Disable.; true (1) = Ac12enA: 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) -> bool

Data transfer direction select. Raw bit values: false (0) = DtdselB: Write (Host to card).; true (1) = DtdselA: Read (Card to host).

Source

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

Data transfer direction select. Raw bit values: false (0) = DtdselB: Write (Host to card).; true (1) = DtdselA: Read (Card to host).

Source

pub const fn msbsel(&self) -> bool

Multi / Single block select. Raw bit values: false (0) = MsbselB: Single block.; true (1) = MsbselA: Multiple blocks.

Source

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

Multi / Single block select. Raw bit values: false (0) = MsbselB: Single block.; true (1) = MsbselA: Multiple blocks.

Source

pub const fn nibble_pos(&self) -> bool

Nibble position indication.

Source

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

Nibble position indication.

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) -> bool

Execute tuning: (Only used for SD3.0, SDR104 mode). Raw bit values: false (0) = ExeTuneD: Not tuned or tuning completed.; true (1) = ExeTuneC: Execute tuning.

Source

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

Execute tuning: (Only used for SD3.0, SDR104 mode). Raw bit values: false (0) = ExeTuneD: Not tuned or tuning completed.; true (1) = ExeTuneC: Execute tuning.

Source

pub const fn smp_clk_sel(&self) -> bool

Clock selection. Raw bit values: false (0) = SmpselB: Fixed clock is used to sample data / cmd.; true (1) = SmpselA: Tuned clock is used to sample data / cmd.

Source

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

Clock selection. Raw bit values: false (0) = SmpselB: Fixed clock is used to sample data / cmd.; true (1) = SmpselA: Tuned clock is used to sample data / cmd.

Source

pub const fn auto_tune_en(&self) -> bool

Auto tuning enable (Only used for SD3.0, SDR104 mode). Raw bit values: false (0) = AutotuneB: Disable auto tuning.; true (1) = AutoTuneA: Enable auto tuning.

Source

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

Auto tuning enable (Only used for SD3.0, SDR104 mode). Raw bit values: false (0) = AutotuneB: Disable auto tuning.; true (1) = AutoTuneA: Enable auto tuning.

Source

pub const fn fbclk_sel(&self) -> bool

Feedback clock source selection (Only used for SD3.0, SDR104 mode). Raw bit values: false (0) = FbclkB: Feedback clock comes from the loopback CLK.; true (1) = FbclkA: Feedback clock comes from the ipp_card_clk_out.

Source

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

Feedback clock source selection (Only used for SD3.0, SDR104 mode). Raw bit values: false (0) = FbclkB: Feedback clock comes from the loopback CLK.; true (1) = FbclkA: Feedback clock comes from the ipp_card_clk_out.

Trait Implementations§

Source§

impl Clone for UsdhcAlphaFieldsetUniform

Source§

fn clone(&self) -> UsdhcAlphaFieldsetUniform

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 Default for UsdhcAlphaFieldsetUniform

Source§

fn default() -> UsdhcAlphaFieldsetUniform

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

impl PartialEq for UsdhcAlphaFieldsetUniform

Source§

fn eq(&self, other: &UsdhcAlphaFieldsetUniform) -> 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 UsdhcAlphaFieldsetUniform

Source§

impl Eq for UsdhcAlphaFieldsetUniform

Source§

impl StructuralPartialEq for UsdhcAlphaFieldsetUniform

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.