Struct esp32c2_hal::pac::dma::out_link_ch0::W
pub struct W(_);
Expand description
Register OUT_LINK_CH0
writer
Implementations§
§impl W
impl W
pub fn outlink_addr(
&mut self
) -> FieldWriterRaw<'_, u32, OUT_LINK_CH0_SPEC, u32, u32, Unsafe, 20, 0>
pub fn outlink_addr(
&mut self
) -> FieldWriterRaw<'_, u32, OUT_LINK_CH0_SPEC, u32, u32, Unsafe, 20, 0>
Bits 0:19 - This register stores the 20 least significant bits of the first outlink descriptor’s address.
pub fn outlink_stop(
&mut self
) -> BitWriterRaw<'_, u32, OUT_LINK_CH0_SPEC, bool, BitM, 20>
pub fn outlink_stop(
&mut self
) -> BitWriterRaw<'_, u32, OUT_LINK_CH0_SPEC, bool, BitM, 20>
Bit 20 - Set this bit to stop dealing with the outlink descriptors.
pub fn outlink_start(
&mut self
) -> BitWriterRaw<'_, u32, OUT_LINK_CH0_SPEC, bool, BitM, 21>
pub fn outlink_start(
&mut self
) -> BitWriterRaw<'_, u32, OUT_LINK_CH0_SPEC, bool, BitM, 21>
Bit 21 - Set this bit to start dealing with the outlink descriptors.
pub fn outlink_restart(
&mut self
) -> BitWriterRaw<'_, u32, OUT_LINK_CH0_SPEC, bool, BitM, 22>
pub fn outlink_restart(
&mut self
) -> BitWriterRaw<'_, u32, OUT_LINK_CH0_SPEC, bool, BitM, 22>
Bit 22 - Set this bit to restart a new outlink from the last address.
Methods from Deref<Target = W<OUT_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<OUT_LINK_CH0_SPEC>> for W
impl From<W<OUT_LINK_CH0_SPEC>> for W
§fn from(writer: W<OUT_LINK_CH0_SPEC>) -> W
fn from(writer: W<OUT_LINK_CH0_SPEC>) -> W
Converts to this type from the input type.