Struct Fgmar
#[repr(transparent)]pub struct Fgmar(pub u32);
Expand description
DMA2D foreground memory address register
Tuple Fields§
§0: u32
Implementations§
§impl Fgmar
impl Fgmar
pub const fn ma(&self) -> u32
pub const fn ma(&self) -> u32
Memory address Address of the data used for the foreground image. This register can only be written when data transfers are disabled. Once the data transfer has started, this register is read-only. The address alignment must match the image format selected e.g. a 32-bit per pixel format must be 32-bit aligned, a 16-bit per pixel format must be 16-bit aligned and a 4-bit per pixel format must be 8-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 foreground image. This register can only be written when data transfers are disabled. Once the data transfer has started, this register is read-only. The address alignment must match the image format selected e.g. a 32-bit per pixel format must be 32-bit aligned, a 16-bit per pixel format must be 16-bit aligned and a 4-bit per pixel format must be 8-bit aligned.
Trait Implementations§
impl Copy for Fgmar
impl Eq for Fgmar
impl StructuralPartialEq for Fgmar
Auto Trait Implementations§
impl Freeze for Fgmar
impl RefUnwindSafe for Fgmar
impl Send for Fgmar
impl Sync for Fgmar
impl Unpin for Fgmar
impl UnwindSafe for Fgmar
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
)