Struct stm32_metapac::dsihost::regs::Vscr
#[repr(transparent)]pub struct Vscr(pub u32);
Expand description
DSI Host video shadow control register.
Tuple Fields§
§0: u32
Implementations§
§impl Vscr
impl Vscr
pub const fn en(&self) -> bool
pub const fn en(&self) -> bool
Enable When set to 1, DSI Host LTDC interface receives the active configuration from the auxiliary registers. When this bit is set along with the UR bit, the auxiliary registers are automatically updated.
pub fn set_en(&mut self, val: bool)
pub fn set_en(&mut self, val: bool)
Enable When set to 1, DSI Host LTDC interface receives the active configuration from the auxiliary registers. When this bit is set along with the UR bit, the auxiliary registers are automatically updated.
Trait Implementations§
impl Copy for Vscr
impl Eq for Vscr
impl StructuralEq for Vscr
impl StructuralPartialEq for Vscr
Auto Trait Implementations§
impl RefUnwindSafe for Vscr
impl Send for Vscr
impl Sync for Vscr
impl Unpin for Vscr
impl UnwindSafe for Vscr
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