Struct stm32_metapac::dma2d::regs::Fgor
#[repr(transparent)]pub struct Fgor(pub u32);
Expand description
DMA2D foreground offset register
Tuple Fields§
§0: u32
Implementations§
§impl Fgor
impl Fgor
pub const fn lo(&self) -> u16
pub const fn lo(&self) -> u16
Line offset Line offset used for the foreground expressed in pixel. This value is used to generate the address. It is added at the end of each line to determine the starting address of the next line. These bits can only be written when data transfers are disabled. Once a data transfer has started, they become read-only. If the image format is 4-bit per pixel, the line offset must be even.
pub fn set_lo(&mut self, val: u16)
pub fn set_lo(&mut self, val: u16)
Line offset Line offset used for the foreground expressed in pixel. This value is used to generate the address. It is added at the end of each line to determine the starting address of the next line. These bits can only be written when data transfers are disabled. Once a data transfer has started, they become read-only. If the image format is 4-bit per pixel, the line offset must be even.