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.