Struct esp32c2_hal::pac::ledc::conf::W
pub struct W(_);
Expand description
Register CONF
writer
Implementations§
§impl W
impl W
pub fn apb_clk_sel(
&mut self
) -> FieldWriterRaw<'_, u32, CONF_SPEC, u8, u8, Unsafe, 2, 0>
pub fn apb_clk_sel(
&mut self
) -> FieldWriterRaw<'_, u32, CONF_SPEC, u8, u8, Unsafe, 2, 0>
Bits 0:1 - This bit is used to select clock source for the 4 timers . 2’d1: APB_CLK 2’d2: RTC8M_CLK 2’d3: XTAL_CLK
Methods from Deref<Target = W<CONF_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.