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