nxp-pac

Crates

git

Versions

mimxrt1064

Flavors

ProtCtrl

Struct ProtCtrl 

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

Protocol Control

Tuple Fields§

§0: u32

Implementations§

Source§

impl ProtCtrl

Source

pub const fn dtw(&self) -> Dtw

Data transfer width

Source

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

Data transfer width

Source

pub const fn d3cd(&self) -> D3cd

DATA3 as card detection pin

Source

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

DATA3 as card detection pin

Source

pub const fn emode(&self) -> Emode

Endian mode

Source

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

Endian mode

Source

pub const fn dmasel(&self) -> Dmasel

DMA select

Source

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

DMA select

Source

pub const fn sabgreq(&self) -> Sabgreq

Stop at block gap request

Source

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

Stop at block gap request

Source

pub const fn creq(&self) -> Creq

Continue request

Source

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

Continue request

Source

pub const fn rwctl(&self) -> Rwctl

Read wait control

Source

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

Read wait control

Source

pub const fn iabg(&self) -> Iabg

Interrupt at block gap

Source

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

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

Wakeup event enable on card interrupt

Source

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

Wakeup event enable on card interrupt

Source

pub const fn wecins(&self) -> Wecins

Wakeup event enable on SD card insertion

Source

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

Wakeup event enable on SD card insertion

Source

pub const fn wecrm(&self) -> Wecrm

Wakeup event enable on SD card removal

Source

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

Wakeup event enable on SD card removal

Source

pub const fn burst_len_en(&self) -> BurstLenEn

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: BurstLenEn)

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

Source

pub const fn non_exact_blk_rd(&self) -> NonExactBlkRd

Non-exact block read

Source

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

Non-exact block read

Trait Implementations§

Source§

impl Clone for ProtCtrl

Source§

fn clone(&self) -> ProtCtrl

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 ProtCtrl

Source§

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

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

impl Default for ProtCtrl

Source§

fn default() -> ProtCtrl

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

impl PartialEq for ProtCtrl

Source§

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

Source§

impl Eq for ProtCtrl

Source§

impl StructuralPartialEq for ProtCtrl

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.