Struct stm32_metapac::dma2d::regs::Lwr
#[repr(transparent)]pub struct Lwr(pub u32);
Expand description
DMA2D line watermark register
Tuple Fields§
§0: u32
Implementations§
§impl Lwr
impl Lwr
pub const fn lw(&self) -> u16
pub const fn lw(&self) -> u16
Line watermark These bits allow to configure the line watermark for interrupt generation. An interrupt is raised when the last pixel of the watermarked line has been transferred. These bits can only be written when data transfers are disabled. Once the transfer has started, they are read-only.
pub fn set_lw(&mut self, val: u16)
pub fn set_lw(&mut self, val: u16)
Line watermark These bits allow to configure the line watermark for interrupt generation. An interrupt is raised when the last pixel of the watermarked line has been transferred. 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 Lwr
impl Eq for Lwr
impl StructuralEq for Lwr
impl StructuralPartialEq for Lwr
Auto Trait Implementations§
impl RefUnwindSafe for Lwr
impl Send for Lwr
impl Sync for Lwr
impl Unpin for Lwr
impl UnwindSafe for Lwr
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