Struct esp32s3_hal::pac::rmt::ref_cnt_rst::W
pub struct W(_);
Expand description
Register REF_CNT_RST
writer
Implementations
impl W
impl W
pub unsafe fn ch<const O: u8>(
&mut self
) -> BitWriterRaw<'_, u32, REF_CNT_RST_SPEC, bool, BitM, O>
pub unsafe fn ch<const O: u8>(
&mut self
) -> BitWriterRaw<'_, u32, REF_CNT_RST_SPEC, bool, BitM, O>
This register is used to reset the clock divider of CHANNEL0.
pub fn chtx_ref_cnt_rst_ch0(
&mut self
) -> BitWriterRaw<'_, u32, REF_CNT_RST_SPEC, bool, BitM, 0>
pub fn chtx_ref_cnt_rst_ch0(
&mut self
) -> BitWriterRaw<'_, u32, REF_CNT_RST_SPEC, bool, BitM, 0>
Bit 0 - This register is used to reset the clock divider of CHANNEL0.
pub fn chtx_ref_cnt_rst_ch1(
&mut self
) -> BitWriterRaw<'_, u32, REF_CNT_RST_SPEC, bool, BitM, 1>
pub fn chtx_ref_cnt_rst_ch1(
&mut self
) -> BitWriterRaw<'_, u32, REF_CNT_RST_SPEC, bool, BitM, 1>
Bit 1 - This register is used to reset the clock divider of CHANNEL0.
pub fn chtx_ref_cnt_rst_ch2(
&mut self
) -> BitWriterRaw<'_, u32, REF_CNT_RST_SPEC, bool, BitM, 2>
pub fn chtx_ref_cnt_rst_ch2(
&mut self
) -> BitWriterRaw<'_, u32, REF_CNT_RST_SPEC, bool, BitM, 2>
Bit 2 - This register is used to reset the clock divider of CHANNEL0.
pub fn chtx_ref_cnt_rst_ch3(
&mut self
) -> BitWriterRaw<'_, u32, REF_CNT_RST_SPEC, bool, BitM, 3>
pub fn chtx_ref_cnt_rst_ch3(
&mut self
) -> BitWriterRaw<'_, u32, REF_CNT_RST_SPEC, bool, BitM, 3>
Bit 3 - This register is used to reset the clock divider of CHANNEL0.
pub fn chrx_ref_cnt_rst_ch4(
&mut self
) -> BitWriterRaw<'_, u32, REF_CNT_RST_SPEC, bool, BitM, 4>
pub fn chrx_ref_cnt_rst_ch4(
&mut self
) -> BitWriterRaw<'_, u32, REF_CNT_RST_SPEC, bool, BitM, 4>
Bit 4 - This register is used to reset the clock divider of CHANNEL0.
pub fn chrx_ref_cnt_rst_ch5(
&mut self
) -> BitWriterRaw<'_, u32, REF_CNT_RST_SPEC, bool, BitM, 5>
pub fn chrx_ref_cnt_rst_ch5(
&mut self
) -> BitWriterRaw<'_, u32, REF_CNT_RST_SPEC, bool, BitM, 5>
Bit 5 - This register is used to reset the clock divider of CHANNEL0.
pub fn chrx_ref_cnt_rst_ch6(
&mut self
) -> BitWriterRaw<'_, u32, REF_CNT_RST_SPEC, bool, BitM, 6>
pub fn chrx_ref_cnt_rst_ch6(
&mut self
) -> BitWriterRaw<'_, u32, REF_CNT_RST_SPEC, bool, BitM, 6>
Bit 6 - This register is used to reset the clock divider of CHANNEL0.
pub fn chrx_ref_cnt_rst_ch7(
&mut self
) -> BitWriterRaw<'_, u32, REF_CNT_RST_SPEC, bool, BitM, 7>
pub fn chrx_ref_cnt_rst_ch7(
&mut self
) -> BitWriterRaw<'_, u32, REF_CNT_RST_SPEC, bool, BitM, 7>
Bit 7 - This register is used to reset the clock divider of CHANNEL0.
Methods from Deref<Target = W<REF_CNT_RST_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<REF_CNT_RST_SPEC>> for W
impl From<W<REF_CNT_RST_SPEC>> for W
fn from(writer: W<REF_CNT_RST_SPEC>) -> W
fn from(writer: W<REF_CNT_RST_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