Struct stm32_metapac::dma2d::regs::Fgcmar
#[repr(transparent)]pub struct Fgcmar(pub u32);
Expand description
DMA2D foreground CLUT memory address register
Tuple Fields§
§0: u32
Implementations§
§impl Fgcmar
impl Fgcmar
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 foreground image. This register can only be written when no transfer is ongoing. Once the CLUT transfer has started, this register is read-only. If the foreground 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 foreground image. This register can only be written when no transfer is ongoing. Once the CLUT transfer has started, this register is read-only. If the foreground CLUT format is 32-bit, the address must be 32-bit aligned.
Trait Implementations§
impl Copy for Fgcmar
impl Eq for Fgcmar
impl StructuralPartialEq for Fgcmar
Auto Trait Implementations§
impl Freeze for Fgcmar
impl RefUnwindSafe for Fgcmar
impl Send for Fgcmar
impl Sync for Fgcmar
impl Unpin for Fgcmar
impl UnwindSafe for Fgcmar
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
)