Struct stm32_metapac::dsihost::regs::Lcccr
#[repr(transparent)]pub struct Lcccr(pub u32);
Expand description
DSI Host LTDC current color coding register.
Tuple Fields§
§0: u32
Implementations§
§impl Lcccr
impl Lcccr
pub const fn colc(&self) -> u8
pub const fn colc(&self) -> u8
Color coding This field returns the current LTDC interface color coding. 0110-1111: reserved If LTDC interface in command mode is chosen and currently works in the command mode (CMDM=1), then 0110-1111: 24-bit.
pub fn set_colc(&mut self, val: u8)
pub fn set_colc(&mut self, val: u8)
Color coding This field returns the current LTDC interface color coding. 0110-1111: reserved If LTDC interface in command mode is chosen and currently works in the command mode (CMDM=1), then 0110-1111: 24-bit.
Trait Implementations§
impl Copy for Lcccr
impl Eq for Lcccr
impl StructuralPartialEq for Lcccr
Auto Trait Implementations§
impl Freeze for Lcccr
impl RefUnwindSafe for Lcccr
impl Send for Lcccr
impl Sync for Lcccr
impl Unpin for Lcccr
impl UnwindSafe for Lcccr
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
)