#[repr(transparent)]pub struct Gcr(pub u32);Expand description
LCD General Control Register.
Tuple Fields§
§0: u32Implementations§
Source§impl Gcr
impl Gcr
Sourcepub const fn set_lcdstp(&mut self, val: Lcdstp)
pub const fn set_lcdstp(&mut self, val: Lcdstp)
LCD Stop.
Sourcepub const fn set_lcddoze(&mut self, val: Lcddoze)
pub const fn set_lcddoze(&mut self, val: Lcddoze)
LCD Doze enable.
Sourcepub const fn set_fdcien(&mut self, val: bool)
pub const fn set_fdcien(&mut self, val: bool)
LCD Fault Detection Complete Interrupt Enable.
Sourcepub const fn set_lcdien(&mut self, val: bool)
pub const fn set_lcdien(&mut self, val: bool)
LCD Frame Frequency Interrupt Enable.
Sourcepub const fn set_shcycle(&mut self, val: Shcycle)
pub const fn set_shcycle(&mut self, val: Shcycle)
Sample & Hold Cycle Select.
Sourcepub const fn vll1trim(&self) -> u8
pub const fn vll1trim(&self) -> u8
Signed four-bit two-complement trim (-8 through +7), 50 mV steps. The getter/setter exposes the raw nibble.
Sourcepub const fn set_vll1trim(&mut self, val: u8)
pub const fn set_vll1trim(&mut self, val: u8)
Signed four-bit two-complement trim (-8 through +7), 50 mV steps. The getter/setter exposes the raw nibble.
Sourcepub const fn vll2trim(&self) -> u8
pub const fn vll2trim(&self) -> u8
Signed four-bit two-complement trim (-8 through +7), 50 mV steps. The getter/setter exposes the raw nibble.
Sourcepub const fn set_vll2trim(&mut self, val: u8)
pub const fn set_vll2trim(&mut self, val: u8)
Signed four-bit two-complement trim (-8 through +7), 50 mV steps. The getter/setter exposes the raw nibble.
Trait Implementations§
impl Copy for Gcr
impl Eq for Gcr
impl StructuralPartialEq for Gcr
Auto Trait Implementations§
impl Freeze for Gcr
impl RefUnwindSafe for Gcr
impl Send for Gcr
impl Sync for Gcr
impl Unpin for Gcr
impl UnwindSafe for Gcr
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