Struct 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.
Trait Implementations§
impl Copy for Bgor
impl Eq for Bgor
impl StructuralPartialEq for Bgor
Auto Trait Implementations§
impl Freeze for Bgor
impl RefUnwindSafe for Bgor
impl Send for Bgor
impl Sync for Bgor
impl Unpin for Bgor
impl UnwindSafe for Bgor
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)