Struct 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.
Trait Implementations§
impl Copy for Fgor
impl Eq for Fgor
impl StructuralPartialEq for Fgor
Auto Trait Implementations§
impl Freeze for Fgor
impl RefUnwindSafe for Fgor
impl Send for Fgor
impl Sync for Fgor
impl Unpin for Fgor
impl UnwindSafe for Fgor
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
)