nxp-pac

Crates

git

Versions

mcxn557

Flavors

UsdhcAlphaFieldsetXray

Struct UsdhcAlphaFieldsetXray 

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

Protocol Control.

Tuple Fields§

§0: u32

Implementations§

Source§

impl UsdhcAlphaFieldsetXray

Source

pub const fn dtw(&self) -> UsdhcAlphaEnumUniformCharlie

Data transfer width.

Source

pub const fn set_dtw(&mut self, val: UsdhcAlphaEnumUniformCharlie)

Data transfer width.

Source

pub const fn d3cd(&self) -> bool

DATA3 as card detection pin. Raw bit values: false (0) = D3cdB: DATA3 does not monitor card insertion.; true (1) = D3cdA: DATA3 as card detection pin.

Source

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

DATA3 as card detection pin. Raw bit values: false (0) = D3cdB: DATA3 does not monitor card insertion.; true (1) = D3cdA: DATA3 as card detection pin.

Source

pub const fn emode(&self) -> UsdhcAlphaEnumWhiskeyCharlie

Endian mode.

Source

pub const fn set_emode(&mut self, val: UsdhcAlphaEnumWhiskeyCharlie)

Endian mode.

Source

pub const fn dmasel(&self) -> UsdhcAlphaEnumNovemberCharlie

DMA select.

Source

pub const fn set_dmasel(&mut self, val: UsdhcAlphaEnumNovemberCharlie)

DMA select.

Source

pub const fn sabgreq(&self) -> bool

Stop at block gap request. Raw bit values: false (0) = SabgreqB: Transfer.; true (1) = SabgreqA: Stop.

Source

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

Stop at block gap request. Raw bit values: false (0) = SabgreqB: Transfer.; true (1) = SabgreqA: Stop.

Source

pub const fn creq(&self) -> bool

Continue request. Raw bit values: false (0) = CreqB: No effect.; true (1) = CreqA: Restart.

Source

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

Continue request. Raw bit values: false (0) = CreqB: No effect.; true (1) = CreqA: Restart.

Source

pub const fn rwctl(&self) -> bool

Read wait control. Raw bit values: false (0) = RwctlB: Disables read wait control and stop SD clock at block gap when SABGREQ field is set.; true (1) = RwctlA: Enables read wait control and assert read wait without stopping SD clock at block gap when SABGREQ field is set.

Source

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

Read wait control. Raw bit values: false (0) = RwctlB: Disables read wait control and stop SD clock at block gap when SABGREQ field is set.; true (1) = RwctlA: Enables read wait control and assert read wait without stopping SD clock at block gap when SABGREQ field is set.

Source

pub const fn iabg(&self) -> bool

Interrupt at block gap. Raw bit values: false (0) = IabgB: Disables interrupt at block gap.; true (1) = IabgA: Enables interrupt at block gap.

Source

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

Interrupt at block gap. Raw bit values: false (0) = IabgB: Disables interrupt at block gap.; true (1) = IabgA: Enables interrupt at block gap.

Source

pub const fn rd_done_no_8clk(&self) -> bool

Read performed number 8 clock.

Source

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

Read performed number 8 clock.

Source

pub const fn wecint(&self) -> bool

Wakeup event enable on card interrupt. Raw bit values: false (0) = WecintA: Disables wakeup event enable on card interrupt.; true (1) = WecintB: Enables wakeup event enable on card interrupt.

Source

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

Wakeup event enable on card interrupt. Raw bit values: false (0) = WecintA: Disables wakeup event enable on card interrupt.; true (1) = WecintB: Enables wakeup event enable on card interrupt.

Source

pub const fn wecins(&self) -> bool

Wakeup event enable on SD card insertion. Raw bit values: false (0) = WecinsB: Disable wakeup event enable on SD card insertion.; true (1) = WecinsA: Enable wakeup event enable on SD card insertion.

Source

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

Wakeup event enable on SD card insertion. Raw bit values: false (0) = WecinsB: Disable wakeup event enable on SD card insertion.; true (1) = WecinsA: Enable wakeup event enable on SD card insertion.

Source

pub const fn wecrm(&self) -> bool

Wakeup event enable on SD card removal. Raw bit values: false (0) = WecrmB: Disables wakeup event enable on SD card removal.; true (1) = WecrmA: Enables wakeup event enable on SD card removal.

Source

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

Wakeup event enable on SD card removal. Raw bit values: false (0) = WecrmB: Disables wakeup event enable on SD card removal.; true (1) = WecrmA: Enables wakeup event enable on SD card removal.

Source

pub const fn burst_len_en(&self) -> UsdhcAlphaEnumCharlieAlpha

BURST length enable for INCR, INCR4 / INCR8 / INCR16, INCR4-WRAP / INCR8-WRAP / INCR16-WRAP.

Source

pub const fn set_burst_len_en(&mut self, val: UsdhcAlphaEnumCharlieAlpha)

BURST length enable for INCR, INCR4 / INCR8 / INCR16, INCR4-WRAP / INCR8-WRAP / INCR16-WRAP.

Source

pub const fn non_exact_blk_rd(&self) -> bool

Non-exact block read. Raw bit values: false (0) = ExactB: The block read is exact block read. Host driver does not need to issue abort command to terminate this multi-block read.; true (1) = ExactA: The block read is non-exact block read. Host driver needs to issue abort command to terminate this multi-block read.

Source

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

Non-exact block read. Raw bit values: false (0) = ExactB: The block read is exact block read. Host driver does not need to issue abort command to terminate this multi-block read.; true (1) = ExactA: The block read is non-exact block read. Host driver needs to issue abort command to terminate this multi-block read.

Trait Implementations§

Source§

impl Clone for UsdhcAlphaFieldsetXray

Source§

fn clone(&self) -> UsdhcAlphaFieldsetXray

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 UsdhcAlphaFieldsetXray

Source§

fn default() -> UsdhcAlphaFieldsetXray

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

impl PartialEq for UsdhcAlphaFieldsetXray

Source§

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

Source§

impl Eq for UsdhcAlphaFieldsetXray

Source§

impl StructuralPartialEq for UsdhcAlphaFieldsetXray

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.