Struct esp32s3_hal::pac::lcd_cam::lcd_misc::W
pub struct W(_);
Expand description
Register LCD_MISC
writer
Implementations§
§impl W
impl W
pub fn lcd_afifo_threshold_num(
&mut self
) -> FieldWriterRaw<'_, u32, LCD_MISC_SPEC, u8, u8, Unsafe, 5, 1>
pub fn lcd_afifo_threshold_num(
&mut self
) -> FieldWriterRaw<'_, u32, LCD_MISC_SPEC, u8, u8, Unsafe, 5, 1>
Bits 1:5 - The awfull threshold number of lcd_afifo.
pub fn lcd_vfk_cyclelen(
&mut self
) -> FieldWriterRaw<'_, u32, LCD_MISC_SPEC, u8, u8, Unsafe, 6, 6>
pub fn lcd_vfk_cyclelen(
&mut self
) -> FieldWriterRaw<'_, u32, LCD_MISC_SPEC, u8, u8, Unsafe, 6, 6>
Bits 6:11 - The setup cycle length minus 1 in LCD non-RGB mode.
pub fn lcd_vbk_cyclelen(
&mut self
) -> FieldWriterRaw<'_, u32, LCD_MISC_SPEC, u16, u16, Unsafe, 13, 12>
pub fn lcd_vbk_cyclelen(
&mut self
) -> FieldWriterRaw<'_, u32, LCD_MISC_SPEC, u16, u16, Unsafe, 13, 12>
Bits 12:24 - The vertical back blank region cycle length minus 1 in LCD RGB mode, or the hold time cycle length in LCD non-RGB mode.
pub fn lcd_next_frame_en(
&mut self
) -> BitWriterRaw<'_, u32, LCD_MISC_SPEC, bool, BitM, 25>
pub fn lcd_next_frame_en(
&mut self
) -> BitWriterRaw<'_, u32, LCD_MISC_SPEC, bool, BitM, 25>
Bit 25 - 1: Send the next frame data when the current frame is sent out. 0: LCD stops when the current frame is sent out.
pub fn lcd_bk_en(
&mut self
) -> BitWriterRaw<'_, u32, LCD_MISC_SPEC, bool, BitM, 26>
pub fn lcd_bk_en(
&mut self
) -> BitWriterRaw<'_, u32, LCD_MISC_SPEC, bool, BitM, 26>
Bit 26 - 1: Enable blank region when LCD sends data out. 0: No blank region.
pub fn lcd_afifo_reset(
&mut self
) -> BitWriterRaw<'_, u32, LCD_MISC_SPEC, bool, BitM, 27>
pub fn lcd_afifo_reset(
&mut self
) -> BitWriterRaw<'_, u32, LCD_MISC_SPEC, bool, BitM, 27>
Bit 27 - LCD AFIFO reset signal.
pub fn lcd_cd_data_set(
&mut self
) -> BitWriterRaw<'_, u32, LCD_MISC_SPEC, bool, BitM, 28>
pub fn lcd_cd_data_set(
&mut self
) -> BitWriterRaw<'_, u32, LCD_MISC_SPEC, bool, BitM, 28>
Bit 28 - 1: LCD_CD = !reg_cd_idle_edge when lcd_st[2:0] is in LCD_DOUT state. 0: LCD_CD = reg_cd_idle_edge.
pub fn lcd_cd_dummy_set(
&mut self
) -> BitWriterRaw<'_, u32, LCD_MISC_SPEC, bool, BitM, 29>
pub fn lcd_cd_dummy_set(
&mut self
) -> BitWriterRaw<'_, u32, LCD_MISC_SPEC, bool, BitM, 29>
Bit 29 - 1: LCD_CD = !reg_cd_idle_edge when lcd_st[2:0] is in LCD_DUMMY state. 0: LCD_CD = reg_cd_idle_edge.
pub fn lcd_cd_cmd_set(
&mut self
) -> BitWriterRaw<'_, u32, LCD_MISC_SPEC, bool, BitM, 30>
pub fn lcd_cd_cmd_set(
&mut self
) -> BitWriterRaw<'_, u32, LCD_MISC_SPEC, bool, BitM, 30>
Bit 30 - 1: LCD_CD = !reg_cd_idle_edge when lcd_st[2:0] is in LCD_CMD state. 0: LCD_CD = reg_cd_idle_edge.
pub fn lcd_cd_idle_edge(
&mut self
) -> BitWriterRaw<'_, u32, LCD_MISC_SPEC, bool, BitM, 31>
pub fn lcd_cd_idle_edge(
&mut self
) -> BitWriterRaw<'_, u32, LCD_MISC_SPEC, bool, BitM, 31>
Bit 31 - The default value of LCD_CD.
Methods from Deref<Target = W<LCD_MISC_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.