Struct stm32_metapac::dma2d::regs::Oor
#[repr(transparent)]pub struct Oor(pub u32);
Expand description
DMA2D output offset register
Tuple Fields§
§0: u32
Implementations§
§impl Oor
impl Oor
pub const fn lo(&self) -> u16
pub const fn lo(&self) -> u16
Line Offset Line offset used for the output (expressed in pixels). 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 the transfer has started, they are read-only.
pub fn set_lo(&mut self, val: u16)
pub fn set_lo(&mut self, val: u16)
Line Offset Line offset used for the output (expressed in pixels). 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 the transfer has started, they are read-only.
Trait Implementations§
impl Copy for Oor
impl Eq for Oor
impl StructuralEq for Oor
impl StructuralPartialEq for Oor
Auto Trait Implementations§
impl RefUnwindSafe for Oor
impl Send for Oor
impl Sync for Oor
impl Unpin for Oor
impl UnwindSafe for Oor
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
Mutably borrows from an owned value. Read more