pub struct W(_);
Expand description
Register CONF2
writer
Implementations§
§impl W
impl W
pub fn camera_en(&mut self) -> BitWriterRaw<'_, u32, CONF2_SPEC, bool, BitM, 0>
pub fn camera_en(&mut self) -> BitWriterRaw<'_, u32, CONF2_SPEC, bool, BitM, 0>
Bit 0
pub fn lcd_tx_wrx2_en(
&mut self
) -> BitWriterRaw<'_, u32, CONF2_SPEC, bool, BitM, 1>
pub fn lcd_tx_wrx2_en(
&mut self
) -> BitWriterRaw<'_, u32, CONF2_SPEC, bool, BitM, 1>
Bit 1
pub fn lcd_tx_sdx2_en(
&mut self
) -> BitWriterRaw<'_, u32, CONF2_SPEC, bool, BitM, 2>
pub fn lcd_tx_sdx2_en(
&mut self
) -> BitWriterRaw<'_, u32, CONF2_SPEC, bool, BitM, 2>
Bit 2
pub fn data_enable_test_en(
&mut self
) -> BitWriterRaw<'_, u32, CONF2_SPEC, bool, BitM, 3>
pub fn data_enable_test_en(
&mut self
) -> BitWriterRaw<'_, u32, CONF2_SPEC, bool, BitM, 3>
Bit 3
pub fn data_enable(
&mut self
) -> BitWriterRaw<'_, u32, CONF2_SPEC, bool, BitM, 4>
pub fn data_enable(
&mut self
) -> BitWriterRaw<'_, u32, CONF2_SPEC, bool, BitM, 4>
Bit 4
pub fn lcd_en(&mut self) -> BitWriterRaw<'_, u32, CONF2_SPEC, bool, BitM, 5>
pub fn lcd_en(&mut self) -> BitWriterRaw<'_, u32, CONF2_SPEC, bool, BitM, 5>
Bit 5
pub fn ext_adc_start_en(
&mut self
) -> BitWriterRaw<'_, u32, CONF2_SPEC, bool, BitM, 6>
pub fn ext_adc_start_en(
&mut self
) -> BitWriterRaw<'_, u32, CONF2_SPEC, bool, BitM, 6>
Bit 6
pub fn inter_valid_en(
&mut self
) -> BitWriterRaw<'_, u32, CONF2_SPEC, bool, BitM, 7>
pub fn inter_valid_en(
&mut self
) -> BitWriterRaw<'_, u32, CONF2_SPEC, bool, BitM, 7>
Bit 7
Methods from Deref<Target = W<CONF2_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<CONF2_SPEC>> for W
impl From<W<CONF2_SPEC>> for W
§fn from(writer: W<CONF2_SPEC>) -> W
fn from(writer: W<CONF2_SPEC>) -> W
Converts to this type from the input type.