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
§fn eq(&self, other: &Idmabase0r) -> bool
fn eq(&self, other: &Idmabase0r) -> bool
self
and other
values to be equal, and is used
by ==
.