Struct stm32_metapac::dsihost::regs::Wcr
#[repr(transparent)]pub struct Wcr(pub u32);
Expand description
DSI Wrapper control register.
Tuple Fields§
§0: u32
Implementations§
§impl Wcr
impl Wcr
pub fn set_colm(&mut self, val: bool)
pub fn set_colm(&mut self, val: bool)
Color mode This bit controls the display color mode in video mode.
pub fn set_shtdn(&mut self, val: bool)
pub fn set_shtdn(&mut self, val: bool)
Shutdown This bit controls the display shutdown in video mode.
pub const fn ltdcen(&self) -> bool
pub const fn ltdcen(&self) -> bool
LTDC enable This bit enables the LTDC for a frame transfer in adapted command mode.
pub fn set_ltdcen(&mut self, val: bool)
pub fn set_ltdcen(&mut self, val: bool)
LTDC enable This bit enables the LTDC for a frame transfer in adapted command mode.
Trait Implementations§
impl Copy for Wcr
impl Eq for Wcr
impl StructuralPartialEq for Wcr
Auto Trait Implementations§
impl Freeze for Wcr
impl RefUnwindSafe for Wcr
impl Send for Wcr
impl Sync for Wcr
impl Unpin for Wcr
impl UnwindSafe for Wcr
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
)