Struct stm32_metapac::dma2d::regs::Bgcmar
#[repr(transparent)]pub struct Bgcmar(pub u32);
Expand description
DMA2D background CLUT memory address register
Tuple Fields§
§0: u32
Implementations§
§impl Bgcmar
impl Bgcmar
pub const fn ma(&self) -> u32
pub const fn ma(&self) -> u32
Memory address Address of the data used for the CLUT address dedicated to the background image. This register can only be written when no transfer is on going. Once the CLUT transfer has started, this register is read-only. If the background CLUT format is 32-bit, the address must be 32-bit aligned.
pub fn set_ma(&mut self, val: u32)
pub fn set_ma(&mut self, val: u32)
Memory address Address of the data used for the CLUT address dedicated to the background image. This register can only be written when no transfer is on going. Once the CLUT transfer has started, this register is read-only. If the background CLUT format is 32-bit, the address must be 32-bit aligned.
Trait Implementations§
impl Copy for Bgcmar
impl Eq for Bgcmar
impl StructuralPartialEq for Bgcmar
Auto Trait Implementations§
impl Freeze for Bgcmar
impl RefUnwindSafe for Bgcmar
impl Send for Bgcmar
impl Sync for Bgcmar
impl Unpin for Bgcmar
impl UnwindSafe for Bgcmar
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
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)