stm32-metapac

Crates

git

Versions

stm32h5e4zj

Flavors

Skip to main content

Sdmmc

Struct Sdmmc 

pub struct Sdmmc { /* private fields */ }
Expand description

Secure digital input/output MultiMediaCard interface.

Implementations§

§

impl Sdmmc

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

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

pub const fn power(self) -> Reg<Power, RW>

SDMMC power control register.

pub const fn clkcr(self) -> Reg<Clkcr, RW>

SDMMC clock control register.

pub const fn argr(self) -> Reg<Argr, RW>

SDMMC argument register.

pub const fn cmdr(self) -> Reg<Cmdr, RW>

SDMMC command register.

pub const fn respcmdr(self) -> Reg<Respcmdr, R>

SDMMC command response register.

pub const fn respr(self, n: usize) -> Reg<ResPxR, R>

SDMMC response 1..4 registers.

pub const fn dtimer(self) -> Reg<Dtimer, RW>

SDMMC data timer register.

pub const fn dlenr(self) -> Reg<Dlenr, RW>

SDMMC data length register.

pub const fn dctrl(self) -> Reg<Dctrl, RW>

SDMMC data control register.

pub const fn dcntr(self) -> Reg<Dcntr, R>

SDMMC data counter register.

pub const fn star(self) -> Reg<Star, R>

SDMMC status register.

pub const fn icr(self) -> Reg<Icr, RW>

SDMMC interrupt clear register.

pub const fn maskr(self) -> Reg<Maskr, RW>

SDMMC mask register.

pub const fn acktimer(self) -> Reg<Acktimer, RW>

SDMMC acknowledgment timer register.

pub const fn idmactrlr(self) -> Reg<Idmactrlr, RW>

SDMMC DMA control register.

pub const fn idmabsizer(self) -> Reg<Idmabsizer, RW>

SDMMC IDMA buffer size register.

pub const fn idmabaser(self) -> Reg<Idmabaser, RW>

SDMMC IDMA buffer base address register.

pub const fn idmalar(self) -> Reg<Idmalar, RW>

SDMMC IDMA linked list address register.

pub const fn idmabar(self) -> Reg<Idmabar, RW>

SDMMC IDMA linked list memory base register.

pub const fn fifor(self, n: usize) -> Reg<Fifor, RW>

SDMMC data FIFO registers.

Trait Implementations§

§

impl Clone for Sdmmc

§

fn clone(&self) -> Sdmmc

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Copy for Sdmmc

§

impl Eq for Sdmmc

§

impl PartialEq for Sdmmc

§

fn eq(&self, other: &Sdmmc) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
§

impl Send for Sdmmc

§

impl StructuralPartialEq for Sdmmc

§

impl Sync for Sdmmc

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 = !

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.