Struct stm32_metapac::sdmmc::regs::Idmabase1r
#[repr(transparent)]pub struct Idmabase1r(pub u32);
Expand description
The SDMMC_IDMABASE1R register contains the double buffer configuration second buffer memory base address.
Tuple Fieldsยง
ยง0: u32
Implementationsยง
ยงimpl Idmabase1r
impl Idmabase1r
pub const fn idmabase1(&self) -> u32
pub const fn idmabase1(&self) -> u32
Buffer 1 memory base address, shall be word aligned (bit [1:0] are always 0 and read only). This register can be written by firmware when DPSM is inactive (DPSMACT = 0), and can dynamically be written by firmware when DPSM active (DPSMACT = 1) and memory buffer 1 is inactive (IDMABACT = 0).
pub fn set_idmabase1(&mut self, val: u32)
pub fn set_idmabase1(&mut self, val: u32)
Buffer 1 memory base address, shall be word aligned (bit [1:0] are always 0 and read only). This register can be written by firmware when DPSM is inactive (DPSMACT = 0), and can dynamically be written by firmware when DPSM active (DPSMACT = 1) and memory buffer 1 is inactive (IDMABACT = 0).
Trait Implementationsยง
ยงimpl Clone for Idmabase1r
impl Clone for Idmabase1r
ยงfn clone(&self) -> Idmabase1r
fn clone(&self) -> Idmabase1r
Returns a copy of the value. Read more
1.0.0 ยท sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreยงimpl Default for Idmabase1r
impl Default for Idmabase1r
ยงfn default() -> Idmabase1r
fn default() -> Idmabase1r
Returns the โdefault valueโ for a type. Read more
ยงimpl PartialEq for Idmabase1r
impl PartialEq for Idmabase1r
ยงfn eq(&self, other: &Idmabase1r) -> bool
fn eq(&self, other: &Idmabase1r) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Idmabase1r
impl Eq for Idmabase1r
impl StructuralEq for Idmabase1r
impl StructuralPartialEq for Idmabase1r
Auto Trait Implementationsยง
impl RefUnwindSafe for Idmabase1r
impl Send for Idmabase1r
impl Sync for Idmabase1r
impl Unpin for Idmabase1r
impl UnwindSafe for Idmabase1r
Blanket Implementationsยง
sourceยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
sourceยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more