Struct Nlr
#[repr(transparent)]pub struct Nlr(pub u32);
Expand description
DMA2D number of line register
Tuple Fields§
§0: u32
Implementations§
§impl Nlr
impl Nlr
pub const fn nl(&self) -> u16
pub const fn nl(&self) -> u16
Number of lines Number of lines of the area to be transferred. These bits can only be written when data transfers are disabled. Once the transfer has started, they are read-only.
pub fn set_nl(&mut self, val: u16)
pub fn set_nl(&mut self, val: u16)
Number of lines Number of lines of the area to be transferred. These bits can only be written when data transfers are disabled. Once the transfer has started, they are read-only.
pub const fn pl(&self) -> u16
pub const fn pl(&self) -> u16
Pixel per lines Number of pixels per lines of the area to be transferred. These bits can only be written when data transfers are disabled. Once the transfer has started, they are read-only. If any of the input image format is 4-bit per pixel, pixel per lines must be even.
pub fn set_pl(&mut self, val: u16)
pub fn set_pl(&mut self, val: u16)
Pixel per lines Number of pixels per lines of the area to be transferred. These bits can only be written when data transfers are disabled. Once the transfer has started, they are read-only. If any of the input image format is 4-bit per pixel, pixel per lines must be even.
Trait Implementations§
impl Copy for Nlr
impl Eq for Nlr
impl StructuralPartialEq for Nlr
Auto Trait Implementations§
impl Freeze for Nlr
impl RefUnwindSafe for Nlr
impl Send for Nlr
impl Sync for Nlr
impl Unpin for Nlr
impl UnwindSafe for Nlr
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
)