#[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 lcdlp(&self) -> bool
pub const fn lcdlp(&self) -> bool
LCD Low Power Waveform. Raw bit values: false (0) = High: LCD driver drives standard waveforms.; true (1) = Low: LCD driver drives low-power waveforms.
Sourcepub const fn set_lcdlp(&mut self, val: bool)
pub const fn set_lcdlp(&mut self, val: bool)
LCD Low Power Waveform. Raw bit values: false (0) = High: LCD driver drives standard waveforms.; true (1) = Low: LCD driver drives low-power waveforms.
Sourcepub const fn lcdstp(&self) -> bool
pub const fn lcdstp(&self) -> bool
LCD Stop. Raw bit values: false (0) = Enable: Allows the LCD driver to continue running during Stop mode.; true (1) = Disable: Disables the LCD driver when MCU enters Stop mode.
Sourcepub const fn set_lcdstp(&mut self, val: bool)
pub const fn set_lcdstp(&mut self, val: bool)
LCD Stop. Raw bit values: false (0) = Enable: Allows the LCD driver to continue running during Stop mode.; true (1) = Disable: Disables the LCD driver when MCU enters Stop mode.
Sourcepub const fn lcddoze(&self) -> bool
pub const fn lcddoze(&self) -> bool
LCD Doze enable. Raw bit values: false (0) = Enable: Allows the LCD driver to continue running during Doze mode.; true (1) = Disable: Disables the LCD driver when MCU enters Doze mode.
Sourcepub const fn set_lcddoze(&mut self, val: bool)
pub const fn set_lcddoze(&mut self, val: bool)
LCD Doze enable. Raw bit values: false (0) = Enable: Allows the LCD driver to continue running during Doze mode.; true (1) = Disable: Disables the LCD driver when MCU enters Doze mode.
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 shcycle(&self) -> bool
pub const fn shcycle(&self) -> bool
Sample & Hold Cycle Select. Raw bit values: false (0) = Clk64: Sample & hold phase clock period is 64 LCD clock (16kHz) period / 32 LCD clock (8kHz) period.; true (1) = Clk128: Sample & hold phase clock period is 128 LCD clk (16kHz) period / 64 LCD clock (8kHz) period.
Sourcepub const fn set_shcycle(&mut self, val: bool)
pub const fn set_shcycle(&mut self, val: bool)
Sample & Hold Cycle Select. Raw bit values: false (0) = Clk64: Sample & hold phase clock period is 64 LCD clock (16kHz) period / 32 LCD clock (8kHz) period.; true (1) = Clk128: Sample & hold phase clock period is 128 LCD clk (16kHz) period / 64 LCD clock (8kHz) period.
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.