Struct esp32c2_hal::pac::apb_ctrl::tick_conf::W
pub struct W(_);
Expand description
Register TICK_CONF
writer
Implementations
impl W
impl W
pub fn xtal_tick_num(
&mut self
) -> FieldWriterRaw<'_, u32, TICK_CONF_SPEC, u8, u8, Unsafe, 8, 0>
pub fn xtal_tick_num(
&mut self
) -> FieldWriterRaw<'_, u32, TICK_CONF_SPEC, u8, u8, Unsafe, 8, 0>
Bits 0:7 - reg_xtal_tick_num
pub fn ck8m_tick_num(
&mut self
) -> FieldWriterRaw<'_, u32, TICK_CONF_SPEC, u8, u8, Unsafe, 8, 8>
pub fn ck8m_tick_num(
&mut self
) -> FieldWriterRaw<'_, u32, TICK_CONF_SPEC, u8, u8, Unsafe, 8, 8>
Bits 8:15 - reg_ck8m_tick_num
pub fn tick_enable(
&mut self
) -> BitWriterRaw<'_, u32, TICK_CONF_SPEC, bool, BitM, 16>
pub fn tick_enable(
&mut self
) -> BitWriterRaw<'_, u32, TICK_CONF_SPEC, bool, BitM, 16>
Bit 16 - reg_tick_enable
Methods from Deref<Target = W<TICK_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<TICK_CONF_SPEC>> for W
impl From<W<TICK_CONF_SPEC>> for W
fn from(writer: W<TICK_CONF_SPEC>) -> W
fn from(writer: W<TICK_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