Struct esp32c2_hal::pac::dma::in_link_ch0::W
pub struct W(_);
Expand description
Register IN_LINK_CH0
writer
Implementations§
§impl W
impl W
pub fn inlink_addr(
&mut self
) -> FieldWriterRaw<'_, u32, IN_LINK_CH0_SPEC, u32, u32, Unsafe, 20, 0>
pub fn inlink_addr(
&mut self
) -> FieldWriterRaw<'_, u32, IN_LINK_CH0_SPEC, u32, u32, Unsafe, 20, 0>
Bits 0:19 - This register stores the 20 least significant bits of the first inlink descriptor’s address.
pub fn inlink_auto_ret(
&mut self
) -> BitWriterRaw<'_, u32, IN_LINK_CH0_SPEC, bool, BitM, 20>
pub fn inlink_auto_ret(
&mut self
) -> BitWriterRaw<'_, u32, IN_LINK_CH0_SPEC, bool, BitM, 20>
Bit 20 - Set this bit to return to current inlink descriptor’s address, when there are some errors in current receiving data.
pub fn inlink_stop(
&mut self
) -> BitWriterRaw<'_, u32, IN_LINK_CH0_SPEC, bool, BitM, 21>
pub fn inlink_stop(
&mut self
) -> BitWriterRaw<'_, u32, IN_LINK_CH0_SPEC, bool, BitM, 21>
Bit 21 - Set this bit to stop dealing with the inlink descriptors.
pub fn inlink_start(
&mut self
) -> BitWriterRaw<'_, u32, IN_LINK_CH0_SPEC, bool, BitM, 22>
pub fn inlink_start(
&mut self
) -> BitWriterRaw<'_, u32, IN_LINK_CH0_SPEC, bool, BitM, 22>
Bit 22 - Set this bit to start dealing with the inlink descriptors.
pub fn inlink_restart(
&mut self
) -> BitWriterRaw<'_, u32, IN_LINK_CH0_SPEC, bool, BitM, 23>
pub fn inlink_restart(
&mut self
) -> BitWriterRaw<'_, u32, IN_LINK_CH0_SPEC, bool, BitM, 23>
Bit 23 - Set this bit to mount a new inlink descriptor.
Methods from Deref<Target = W<IN_LINK_CH0_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<IN_LINK_CH0_SPEC>> for W
impl From<W<IN_LINK_CH0_SPEC>> for W
§fn from(writer: W<IN_LINK_CH0_SPEC>) -> W
fn from(writer: W<IN_LINK_CH0_SPEC>) -> W
Converts to this type from the input type.