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 StructuralPartialEq for Vscr
Auto Trait Implementations§
impl Freeze for Vscr
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
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)