Struct esp32c2_hal::pac::apb_ctrl::clk_out_en::W
pub struct W(_);
Expand description
Register CLK_OUT_EN
writer
Implementations§
§impl W
impl W
pub fn clk20_oen(
&mut self
) -> BitWriterRaw<'_, u32, CLK_OUT_EN_SPEC, bool, BitM, 0>
pub fn clk20_oen(
&mut self
) -> BitWriterRaw<'_, u32, CLK_OUT_EN_SPEC, bool, BitM, 0>
Bit 0 - reg_clk20_oen
pub fn clk22_oen(
&mut self
) -> BitWriterRaw<'_, u32, CLK_OUT_EN_SPEC, bool, BitM, 1>
pub fn clk22_oen(
&mut self
) -> BitWriterRaw<'_, u32, CLK_OUT_EN_SPEC, bool, BitM, 1>
Bit 1 - reg_clk22_oen
pub fn clk44_oen(
&mut self
) -> BitWriterRaw<'_, u32, CLK_OUT_EN_SPEC, bool, BitM, 2>
pub fn clk44_oen(
&mut self
) -> BitWriterRaw<'_, u32, CLK_OUT_EN_SPEC, bool, BitM, 2>
Bit 2 - reg_clk44_oen
pub fn clk_bb_oen(
&mut self
) -> BitWriterRaw<'_, u32, CLK_OUT_EN_SPEC, bool, BitM, 3>
pub fn clk_bb_oen(
&mut self
) -> BitWriterRaw<'_, u32, CLK_OUT_EN_SPEC, bool, BitM, 3>
Bit 3 - reg_clk_bb_oen
pub fn clk80_oen(
&mut self
) -> BitWriterRaw<'_, u32, CLK_OUT_EN_SPEC, bool, BitM, 4>
pub fn clk80_oen(
&mut self
) -> BitWriterRaw<'_, u32, CLK_OUT_EN_SPEC, bool, BitM, 4>
Bit 4 - reg_clk80_oen
pub fn clk160_oen(
&mut self
) -> BitWriterRaw<'_, u32, CLK_OUT_EN_SPEC, bool, BitM, 5>
pub fn clk160_oen(
&mut self
) -> BitWriterRaw<'_, u32, CLK_OUT_EN_SPEC, bool, BitM, 5>
Bit 5 - reg_clk160_oen
pub fn clk_320m_oen(
&mut self
) -> BitWriterRaw<'_, u32, CLK_OUT_EN_SPEC, bool, BitM, 6>
pub fn clk_320m_oen(
&mut self
) -> BitWriterRaw<'_, u32, CLK_OUT_EN_SPEC, bool, BitM, 6>
Bit 6 - reg_clk_320m_oen
pub fn clk_adc_inf_oen(
&mut self
) -> BitWriterRaw<'_, u32, CLK_OUT_EN_SPEC, bool, BitM, 7>
pub fn clk_adc_inf_oen(
&mut self
) -> BitWriterRaw<'_, u32, CLK_OUT_EN_SPEC, bool, BitM, 7>
Bit 7 - reg_clk_adc_inf_oen
pub fn clk_dac_cpu_oen(
&mut self
) -> BitWriterRaw<'_, u32, CLK_OUT_EN_SPEC, bool, BitM, 8>
pub fn clk_dac_cpu_oen(
&mut self
) -> BitWriterRaw<'_, u32, CLK_OUT_EN_SPEC, bool, BitM, 8>
Bit 8 - reg_clk_dac_cpu_oen
pub fn clk40x_bb_oen(
&mut self
) -> BitWriterRaw<'_, u32, CLK_OUT_EN_SPEC, bool, BitM, 9>
pub fn clk40x_bb_oen(
&mut self
) -> BitWriterRaw<'_, u32, CLK_OUT_EN_SPEC, bool, BitM, 9>
Bit 9 - reg_clk40x_bb_oen
pub fn clk_xtal_oen(
&mut self
) -> BitWriterRaw<'_, u32, CLK_OUT_EN_SPEC, bool, BitM, 10>
pub fn clk_xtal_oen(
&mut self
) -> BitWriterRaw<'_, u32, CLK_OUT_EN_SPEC, bool, BitM, 10>
Bit 10 - reg_clk_xtal_oen
Methods from Deref<Target = W<CLK_OUT_EN_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<CLK_OUT_EN_SPEC>> for W
impl From<W<CLK_OUT_EN_SPEC>> for W
§fn from(writer: W<CLK_OUT_EN_SPEC>) -> W
fn from(writer: W<CLK_OUT_EN_SPEC>) -> W
Converts to this type from the input type.