Struct stm32_metapac::dma2d::regs::Bgor
#[repr(transparent)]pub struct Bgor(pub u32);
Expand description
DMA2D background offset register
Tuple Fields§
§0: u32
Implementations§
§impl Bgor
impl Bgor
pub const fn lo(&self) -> u16
pub const fn lo(&self) -> u16
Line offset Line offset used for the background image (expressed in pixel). This value is used for the address generation. 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 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 background image (expressed in pixel). This value is used for the address generation. 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 data transfer has started, they become read-only. If the image format is 4-bit per pixel, the line offset must be even.