Type Alias esp32s3::lcd_cam::lcd_ctrl::W

source ·
pub type W = W<LCD_CTRL_SPEC>;
Expand description

Register LCD_CTRL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn lcd_hb_front(&mut self) -> LCD_HB_FRONT_W<'_, LCD_CTRL_SPEC>

Bits 0:10 - It is the horizontal blank front porch of a frame.

source

pub fn lcd_va_height(&mut self) -> LCD_VA_HEIGHT_W<'_, LCD_CTRL_SPEC>

Bits 11:20 - It is the vertical active height of a frame.

source

pub fn lcd_vt_height(&mut self) -> LCD_VT_HEIGHT_W<'_, LCD_CTRL_SPEC>

Bits 21:30 - It is the vertical total height of a frame.

source

pub fn lcd_rgb_mode_en(&mut self) -> LCD_RGB_MODE_EN_W<'_, LCD_CTRL_SPEC>

Bit 31 - 1: Enable RGB mode, and input VSYNC, HSYNC, and DE signals. 0: Disable.

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual