Struct Bgmar
#[repr(transparent)]pub struct Bgmar(pub u32);
Expand description
DMA2D background memory address register
Tuple Fields§
§0: u32
Implementations§
§impl Bgmar
impl Bgmar
pub const fn ma(&self) -> u32
pub const fn ma(&self) -> u32
Memory address Address of the data used for the background image. This register can only be written when data transfers are disabled. Once a 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 background image. This register can only be written when data transfers are disabled. Once a 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 Bgmar
impl Eq for Bgmar
impl StructuralPartialEq for Bgmar
Auto Trait Implementations§
impl Freeze for Bgmar
impl RefUnwindSafe for Bgmar
impl Send for Bgmar
impl Sync for Bgmar
impl Unpin for Bgmar
impl UnwindSafe for Bgmar
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
)