Struct esp32c3_hal::pac::rmt::ch_tx_lim::W
pub struct W(_);
Expand description
Register CH%s_TX_LIM
writer
Implementations
impl W
impl W
pub fn tx_lim(
&mut self
) -> FieldWriterRaw<'_, u32, CH_TX_LIM_SPEC, u16, u16, Unsafe, 9, 0>
pub fn tx_lim(
&mut self
) -> FieldWriterRaw<'_, u32, CH_TX_LIM_SPEC, u16, u16, Unsafe, 9, 0>
Bits 0:8 - reg_rmt_tx_lim_ch0.
pub fn tx_loop_num(
&mut self
) -> FieldWriterRaw<'_, u32, CH_TX_LIM_SPEC, u16, u16, Unsafe, 10, 9>
pub fn tx_loop_num(
&mut self
) -> FieldWriterRaw<'_, u32, CH_TX_LIM_SPEC, u16, u16, Unsafe, 10, 9>
Bits 9:18 - reg_rmt_tx_loop_num_ch0.
pub fn tx_loop_cnt_en(
&mut self
) -> BitWriterRaw<'_, u32, CH_TX_LIM_SPEC, bool, BitM, 19>
pub fn tx_loop_cnt_en(
&mut self
) -> BitWriterRaw<'_, u32, CH_TX_LIM_SPEC, bool, BitM, 19>
Bit 19 - reg_rmt_tx_loop_cnt_en_ch0.
pub fn loop_count_reset(
&mut self
) -> BitWriterRaw<'_, u32, CH_TX_LIM_SPEC, bool, BitM, 20>
pub fn loop_count_reset(
&mut self
) -> BitWriterRaw<'_, u32, CH_TX_LIM_SPEC, bool, BitM, 20>
Bit 20 - reg_loop_count_reset_ch0.
Methods from Deref<Target = W<CH_TX_LIM_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<CH_TX_LIM_SPEC>> for W
impl From<W<CH_TX_LIM_SPEC>> for W
fn from(writer: W<CH_TX_LIM_SPEC>) -> W
fn from(writer: W<CH_TX_LIM_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