Struct esp32s3_hal::pac::lcd_cam::lcd_ctrl::W
pub struct W(_);
Expand description
Register LCD_CTRL
writer
Implementations§
§impl W
impl W
pub fn lcd_hb_front(
&mut self
) -> FieldWriterRaw<'_, u32, LCD_CTRL_SPEC, u16, u16, Unsafe, 11, 0>
pub fn lcd_hb_front(
&mut self
) -> FieldWriterRaw<'_, u32, LCD_CTRL_SPEC, u16, u16, Unsafe, 11, 0>
Bits 0:10 - It is the horizontal blank front porch of a frame.
pub fn lcd_va_height(
&mut self
) -> FieldWriterRaw<'_, u32, LCD_CTRL_SPEC, u16, u16, Unsafe, 10, 11>
pub fn lcd_va_height(
&mut self
) -> FieldWriterRaw<'_, u32, LCD_CTRL_SPEC, u16, u16, Unsafe, 10, 11>
Bits 11:20 - It is the vertical active height of a frame.
pub fn lcd_vt_height(
&mut self
) -> FieldWriterRaw<'_, u32, LCD_CTRL_SPEC, u16, u16, Unsafe, 10, 21>
pub fn lcd_vt_height(
&mut self
) -> FieldWriterRaw<'_, u32, LCD_CTRL_SPEC, u16, u16, Unsafe, 10, 21>
Bits 21:30 - It is the vertical total height of a frame.
pub fn lcd_rgb_mode_en(
&mut self
) -> BitWriterRaw<'_, u32, LCD_CTRL_SPEC, bool, BitM, 31>
pub fn lcd_rgb_mode_en(
&mut self
) -> BitWriterRaw<'_, u32, LCD_CTRL_SPEC, bool, BitM, 31>
Bit 31 - 1: Enable reg mode input vsync, hsync, de. 0: Disable.
Methods from Deref<Target = W<LCD_CTRL_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_CTRL_SPEC>> for W
impl From<W<LCD_CTRL_SPEC>> for W
§fn from(writer: W<LCD_CTRL_SPEC>) -> W
fn from(writer: W<LCD_CTRL_SPEC>) -> W
Converts to this type from the input type.