nxp-pac

Crates

git

Versions

mcxn526

Flavors

UsdhcAlphaFieldsetAlphaAlpha

Struct UsdhcAlphaFieldsetAlphaAlpha 

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

Vendor Specific Register.

Tuple Fields§

§0: u32

Implementations§

Source§

impl UsdhcAlphaFieldsetAlphaAlpha

Source

pub const fn ac12_wr_chkbusy_en(&self) -> bool

Check busy enable. Raw bit values: false (0) = Ac12WrChkbusyEnA: Do not check busy after auto CMD12 for write data packet.; true (1) = Ac12WrChkbusyEnB: Check busy after auto CMD12 for write data packet.

Source

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

Check busy enable. Raw bit values: false (0) = Ac12WrChkbusyEnA: Do not check busy after auto CMD12 for write data packet.; true (1) = Ac12WrChkbusyEnB: Check busy after auto CMD12 for write data packet.

Source

pub const fn frc_sdclk_on(&self) -> bool

Force CLK. Raw bit values: false (0) = FrcSdclkOnA: CLK active or inactive is fully controlled by the hardware.; true (1) = FrcSdclkOnB: Force CLK active.

Source

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

Force CLK. Raw bit values: false (0) = FrcSdclkOnA: CLK active or inactive is fully controlled by the hardware.; true (1) = FrcSdclkOnB: Force CLK active.

Source

pub const fn crc_chk_dis(&self) -> bool

CRC Check Disable. Raw bit values: false (0) = CrcChkDisA: Check CRC16 for every read data packet and check CRC fields for every write data packet.; true (1) = CrcChkDisB: Ignore CRC16 check for every read data packet and ignore CRC fields check for every write data packet.

Source

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

CRC Check Disable. Raw bit values: false (0) = CrcChkDisA: Check CRC16 for every read data packet and check CRC fields for every write data packet.; true (1) = CrcChkDisB: Ignore CRC16 check for every read data packet and ignore CRC fields check for every write data packet.

Source

pub const fn cmd_byte_en(&self) -> bool

Register byte access for CMD_XFR_TYP. Raw bit values: false (0) = CmdByteEnA: Disable. MIX_CTRL[7:0] is read/write and CMD_XFR_TYP[7:0] is read-only.; true (1) = CmdByteEnB: Enable. MIX_CTRL[7:0] is read-only and CMD_XFR_TYP[7:0] is read/write.

Source

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

Register byte access for CMD_XFR_TYP. Raw bit values: false (0) = CmdByteEnA: Disable. MIX_CTRL[7:0] is read/write and CMD_XFR_TYP[7:0] is read-only.; true (1) = CmdByteEnB: Enable. MIX_CTRL[7:0] is read-only and CMD_XFR_TYP[7:0] is read/write.

Trait Implementations§

Source§

impl Clone for UsdhcAlphaFieldsetAlphaAlpha

Source§

fn clone(&self) -> UsdhcAlphaFieldsetAlphaAlpha

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 UsdhcAlphaFieldsetAlphaAlpha

Source§

fn default() -> UsdhcAlphaFieldsetAlphaAlpha

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

impl PartialEq for UsdhcAlphaFieldsetAlphaAlpha

Source§

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

Source§

impl Eq for UsdhcAlphaFieldsetAlphaAlpha

Source§

impl StructuralPartialEq for UsdhcAlphaFieldsetAlphaAlpha

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.