Struct esp32s3_hal::pac::lcd_cam::lcd_ctrl2::W
pub struct W(_);
Expand description
Register LCD_CTRL2
writer
Implementations§
§impl W
impl W
pub fn lcd_vsync_width(
&mut self
) -> FieldWriterRaw<'_, u32, LCD_CTRL2_SPEC, u8, u8, Unsafe, 7, 0>
pub fn lcd_vsync_width(
&mut self
) -> FieldWriterRaw<'_, u32, LCD_CTRL2_SPEC, u8, u8, Unsafe, 7, 0>
Bits 0:6 - It is the position of LCD_VSYNC active pulse in a line.
pub fn lcd_vsync_idle_pol(
&mut self
) -> BitWriterRaw<'_, u32, LCD_CTRL2_SPEC, bool, BitM, 7>
pub fn lcd_vsync_idle_pol(
&mut self
) -> BitWriterRaw<'_, u32, LCD_CTRL2_SPEC, bool, BitM, 7>
Bit 7 - It is the idle value of LCD_VSYNC.
pub fn lcd_de_idle_pol(
&mut self
) -> BitWriterRaw<'_, u32, LCD_CTRL2_SPEC, bool, BitM, 8>
pub fn lcd_de_idle_pol(
&mut self
) -> BitWriterRaw<'_, u32, LCD_CTRL2_SPEC, bool, BitM, 8>
Bit 8 - It is the idle value of LCD_DE.
pub fn lcd_hs_blank_en(
&mut self
) -> BitWriterRaw<'_, u32, LCD_CTRL2_SPEC, bool, BitM, 9>
pub fn lcd_hs_blank_en(
&mut self
) -> BitWriterRaw<'_, u32, LCD_CTRL2_SPEC, bool, BitM, 9>
Bit 9 - 1: The pulse of LCD_HSYNC is out in vertical blanking lines RGB mode. 0: LCD_HSYNC pulse is valid only in active region lines in RGB mode.
pub fn lcd_hsync_width(
&mut self
) -> FieldWriterRaw<'_, u32, LCD_CTRL2_SPEC, u8, u8, Unsafe, 7, 16>
pub fn lcd_hsync_width(
&mut self
) -> FieldWriterRaw<'_, u32, LCD_CTRL2_SPEC, u8, u8, Unsafe, 7, 16>
Bits 16:22 - It is the position of LCD_HSYNC active pulse in a line.
pub fn lcd_hsync_idle_pol(
&mut self
) -> BitWriterRaw<'_, u32, LCD_CTRL2_SPEC, bool, BitM, 23>
pub fn lcd_hsync_idle_pol(
&mut self
) -> BitWriterRaw<'_, u32, LCD_CTRL2_SPEC, bool, BitM, 23>
Bit 23 - It is the idle value of LCD_HSYNC.
pub fn lcd_hsync_position(
&mut self
) -> FieldWriterRaw<'_, u32, LCD_CTRL2_SPEC, u8, u8, Unsafe, 8, 24>
pub fn lcd_hsync_position(
&mut self
) -> FieldWriterRaw<'_, u32, LCD_CTRL2_SPEC, u8, u8, Unsafe, 8, 24>
Bits 24:31 - It is the position of LCD_HSYNC active pulse in a line.
Methods from Deref<Target = W<LCD_CTRL2_SPEC>>§
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Safety
Read datasheet or reference manual to find what values are allowed to pass.
Trait Implementations§
§impl From<W<LCD_CTRL2_SPEC>> for W
impl From<W<LCD_CTRL2_SPEC>> for W
§fn from(writer: W<LCD_CTRL2_SPEC>) -> W
fn from(writer: W<LCD_CTRL2_SPEC>) -> W
Converts to this type from the input type.