Struct esp32s3_hal::pac::apb_saradc::clkm_conf::W
pub struct W(_);
Expand description
Register CLKM_CONF
writer
Implementations
impl W
impl W
pub fn clkm_div_num(
&mut self
) -> FieldWriterRaw<'_, u32, CLKM_CONF_SPEC, u8, u8, Unsafe, 8, 0>
pub fn clkm_div_num(
&mut self
) -> FieldWriterRaw<'_, u32, CLKM_CONF_SPEC, u8, u8, Unsafe, 8, 0>
Bits 0:7 - Integral clock divider value
pub fn clkm_div_b(
&mut self
) -> FieldWriterRaw<'_, u32, CLKM_CONF_SPEC, u8, u8, Unsafe, 6, 8>
pub fn clkm_div_b(
&mut self
) -> FieldWriterRaw<'_, u32, CLKM_CONF_SPEC, u8, u8, Unsafe, 6, 8>
Bits 8:13 - Fractional clock divider numerator value
pub fn clkm_div_a(
&mut self
) -> FieldWriterRaw<'_, u32, CLKM_CONF_SPEC, u8, u8, Unsafe, 6, 14>
pub fn clkm_div_a(
&mut self
) -> FieldWriterRaw<'_, u32, CLKM_CONF_SPEC, u8, u8, Unsafe, 6, 14>
Bits 14:19 - Fractional clock divider denominator value
pub fn clk_en(
&mut self
) -> BitWriterRaw<'_, u32, CLKM_CONF_SPEC, bool, BitM, 20>
pub fn clk_en(
&mut self
) -> BitWriterRaw<'_, u32, CLKM_CONF_SPEC, bool, BitM, 20>
Bit 20 - no public
pub fn clk_sel(
&mut self
) -> FieldWriterRaw<'_, u32, CLKM_CONF_SPEC, u8, u8, Unsafe, 2, 21>
pub fn clk_sel(
&mut self
) -> FieldWriterRaw<'_, u32, CLKM_CONF_SPEC, u8, u8, Unsafe, 2, 21>
Bits 21:22 - Set this bit to enable clk_apll
Methods from Deref<Target = W<CLKM_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.
Trait Implementations
impl From<W<CLKM_CONF_SPEC>> for W
impl From<W<CLKM_CONF_SPEC>> for W
fn from(writer: W<CLKM_CONF_SPEC>) -> W
fn from(writer: W<CLKM_CONF_SPEC>) -> W
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more