nxp-pac

Crates

git

Versions

lpc55s69_cm33_core0

Flavors

Sdif

Struct Sdif 

Source
pub struct Sdif { /* private fields */ }
Expand description

SDMMC

Implementations§

Source§

impl Sdif

Source

pub const unsafe fn from_ptr(ptr: *mut ()) -> Self

Source

pub const fn as_ptr(&self) -> *mut ()

Source

pub const fn ctrl(self) -> Reg<Ctrl, RW>

Control register

Source

pub const fn pwren(self) -> Reg<Pwren, RW>

Power Enable register

Source

pub const fn clkdiv(self) -> Reg<Clkdiv, RW>

Clock Divider register

Source

pub const fn clkena(self) -> Reg<Clkena, RW>

Clock Enable register

Source

pub const fn tmout(self) -> Reg<Tmout, RW>

Time-out register

Source

pub const fn ctype(self) -> Reg<Ctype, RW>

Card Type register

Source

pub const fn blksiz(self) -> Reg<Blksiz, RW>

Block Size register

Source

pub const fn bytcnt(self) -> Reg<Bytcnt, RW>

Byte Count register

Source

pub const fn intmask(self) -> Reg<Intmask, RW>

Interrupt Mask register

Source

pub const fn cmdarg(self) -> Reg<Cmdarg, RW>

Command Argument register

Source

pub const fn cmd(self) -> Reg<Cmd, RW>

Command register

Source

pub const fn resp(self, n: usize) -> Reg<Resp, RW>

Response register

Source

pub const fn mintsts(self) -> Reg<Mintsts, RW>

Masked Interrupt Status register

Source

pub const fn rintsts(self) -> Reg<Rintsts, RW>

Raw Interrupt Status register

Source

pub const fn status(self) -> Reg<Status, RW>

Status register

Source

pub const fn fifoth(self) -> Reg<Fifoth, RW>

FIFO Threshold Watermark register

Source

pub const fn cdetect(self) -> Reg<Cdetect, RW>

Card Detect register

Source

pub const fn wrtprt(self) -> Reg<Wrtprt, RW>

Write Protect register

Source

pub const fn tcbcnt(self) -> Reg<Tcbcnt, RW>

Transferred CIU Card Byte Count register

Source

pub const fn tbbcnt(self) -> Reg<Tbbcnt, RW>

Transferred Host to BIU-FIFO Byte Count register

Source

pub const fn debnce(self) -> Reg<Debnce, RW>

Debounce Count register

Source

pub const fn rst_n(self) -> Reg<RstN, RW>

Hardware Reset

Source

pub const fn bmod(self) -> Reg<Bmod, RW>

Bus Mode register

Source

pub const fn pldmnd(self) -> Reg<Pldmnd, RW>

Poll Demand register

Source

pub const fn dbaddr(self) -> Reg<Dbaddr, RW>

Descriptor List Base Address register

Source

pub const fn idsts(self) -> Reg<Idsts, RW>

Internal DMAC Status register

Source

pub const fn idinten(self) -> Reg<Idinten, RW>

Internal DMAC Interrupt Enable register

Source

pub const fn dscaddr(self) -> Reg<Dscaddr, RW>

Current Host Descriptor Address register

Source

pub const fn bufaddr(self) -> Reg<Bufaddr, RW>

Current Buffer Descriptor Address register

Source

pub const fn cardthrctl(self) -> Reg<Cardthrctl, RW>

Card Threshold Control

Source

pub const fn backendpwr(self) -> Reg<Backendpwr, RW>

Power control

Source

pub const fn fifo(self, n: usize) -> Reg<Fifo, RW>

SDIF FIFO

Trait Implementations§

Source§

impl Clone for Sdif

Source§

fn clone(&self) -> Sdif

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 PartialEq for Sdif

Source§

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

Source§

impl Eq for Sdif

Source§

impl Send for Sdif

Source§

impl StructuralPartialEq for Sdif

Source§

impl Sync for Sdif

Auto Trait Implementations§

§

impl Freeze for Sdif

§

impl RefUnwindSafe for Sdif

§

impl Unpin for Sdif

§

impl UnwindSafe for Sdif

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.