Struct stm32_metapac::sdmmc::regs::Idmabase0r
#[repr(transparent)]pub struct Idmabase0r(pub u32);
Expand description
The SDMMC_IDMABASE0R register contains the memory buffer base address in single buffer configuration and the buffer 0 base address in double buffer configuration.
Tuple Fields§
§0: u32
Implementations§
§impl Idmabase0r
impl Idmabase0r
pub const fn idmabase0(&self) -> u32
pub const fn idmabase0(&self) -> u32
Buffer 0 memory base address bits [31:2], 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 0 is inactive (IDMABACT = 1).
pub fn set_idmabase0(&mut self, val: u32)
pub fn set_idmabase0(&mut self, val: u32)
Buffer 0 memory base address bits [31:2], 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 0 is inactive (IDMABACT = 1).
Trait Implementations§
§impl Clone for Idmabase0r
impl Clone for Idmabase0r
§fn clone(&self) -> Idmabase0r
fn clone(&self) -> Idmabase0r
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Default for Idmabase0r
impl Default for Idmabase0r
§fn default() -> Idmabase0r
fn default() -> Idmabase0r
§impl PartialEq for Idmabase0r
impl PartialEq for Idmabase0r
impl Copy for Idmabase0r
impl Eq for Idmabase0r
impl StructuralPartialEq for Idmabase0r
Auto Trait Implementations§
impl Freeze for Idmabase0r
impl RefUnwindSafe for Idmabase0r
impl Send for Idmabase0r
impl Sync for Idmabase0r
impl Unpin for Idmabase0r
impl UnwindSafe for Idmabase0r
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)