Struct stm32_metapac::dma2d::regs::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.