Struct esp32_hal::pac::uhci0::dma_in_link::W
pub struct W(_);
Expand description
Register DMA_IN_LINK
writer
Implementations§
§impl W
impl W
pub fn inlink_addr(
&mut self
) -> FieldWriterRaw<'_, u32, DMA_IN_LINK_SPEC, u32, u32, Unsafe, 20, 0>
pub fn inlink_addr(
&mut self
) -> FieldWriterRaw<'_, u32, DMA_IN_LINK_SPEC, u32, u32, Unsafe, 20, 0>
Bits 0:19 - This register stores the least 20 bits of the first in link descriptor’s address.
pub fn inlink_auto_ret(
&mut self
) -> BitWriterRaw<'_, u32, DMA_IN_LINK_SPEC, bool, BitM, 20>
pub fn inlink_auto_ret(
&mut self
) -> BitWriterRaw<'_, u32, DMA_IN_LINK_SPEC, bool, BitM, 20>
Bit 20 - 1:when a packet is wrong in link descriptor returns to the descriptor which is lately used.
pub fn inlink_stop(
&mut self
) -> BitWriterRaw<'_, u32, DMA_IN_LINK_SPEC, bool, BitM, 28>
pub fn inlink_stop(
&mut self
) -> BitWriterRaw<'_, u32, DMA_IN_LINK_SPEC, bool, BitM, 28>
Bit 28 - Set this bit to stop dealing with the in link descriptors.
pub fn inlink_start(
&mut self
) -> BitWriterRaw<'_, u32, DMA_IN_LINK_SPEC, bool, BitM, 29>
pub fn inlink_start(
&mut self
) -> BitWriterRaw<'_, u32, DMA_IN_LINK_SPEC, bool, BitM, 29>
Bit 29 - Set this bit to start dealing with the in link descriptors.
pub fn inlink_restart(
&mut self
) -> BitWriterRaw<'_, u32, DMA_IN_LINK_SPEC, bool, BitM, 30>
pub fn inlink_restart(
&mut self
) -> BitWriterRaw<'_, u32, DMA_IN_LINK_SPEC, bool, BitM, 30>
Bit 30 - Set this bit to mount on new in link descriptors
Methods from Deref<Target = W<DMA_IN_LINK_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<DMA_IN_LINK_SPEC>> for W
impl From<W<DMA_IN_LINK_SPEC>> for W
§fn from(writer: W<DMA_IN_LINK_SPEC>) -> W
fn from(writer: W<DMA_IN_LINK_SPEC>) -> W
Converts to this type from the input type.