stm32-metapac

Crates

git

Versions

stm32f437ig

Flavors

Struct stm32_metapac::sdmmc::Sdmmc

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

Secure digital input/output 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>

power control register

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

SDI clock control register

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

argument register

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

command register

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

command response register

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

response 1..4 register

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

data timer register

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

data length register

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

data control register

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

data counter register

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

status register

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

interrupt clear register

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

mask register

pub const fn fifocnt(self) -> Reg<Fifocnt, R>

FIFO counter register

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

data FIFO register

Trait Implementations§

§

impl Clone for Sdmmc

§

fn clone(&self) -> Sdmmc

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
§

impl PartialEq for Sdmmc

§

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

impl Copy for Sdmmc

§

impl Eq for Sdmmc

§

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, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. 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.