pub struct W(_);
Expand description
Register DMA_CONF
writer
Implementations§
§impl W
impl W
pub fn in_rst(&mut self) -> BitWriterRaw<'_, u32, DMA_CONF_SPEC, bool, BitM, 2>
pub fn in_rst(&mut self) -> BitWriterRaw<'_, u32, DMA_CONF_SPEC, bool, BitM, 2>
Bit 2 - The bit is used to reset in dma fsm and in data fifo pointer.
pub fn out_rst(&mut self) -> BitWriterRaw<'_, u32, DMA_CONF_SPEC, bool, BitM, 3>
pub fn out_rst(&mut self) -> BitWriterRaw<'_, u32, DMA_CONF_SPEC, bool, BitM, 3>
Bit 3 - The bit is used to reset out dma fsm and out data fifo pointer.
pub fn ahbm_fifo_rst(
&mut self
) -> BitWriterRaw<'_, u32, DMA_CONF_SPEC, bool, BitM, 4>
pub fn ahbm_fifo_rst(
&mut self
) -> BitWriterRaw<'_, u32, DMA_CONF_SPEC, bool, BitM, 4>
Bit 4 - reset spi dma ahb master fifo pointer.
pub fn ahbm_rst(
&mut self
) -> BitWriterRaw<'_, u32, DMA_CONF_SPEC, bool, BitM, 5>
pub fn ahbm_rst(
&mut self
) -> BitWriterRaw<'_, u32, DMA_CONF_SPEC, bool, BitM, 5>
Bit 5 - reset spi dma ahb master.
pub fn in_loop_test(
&mut self
) -> BitWriterRaw<'_, u32, DMA_CONF_SPEC, bool, BitM, 6>
pub fn in_loop_test(
&mut self
) -> BitWriterRaw<'_, u32, DMA_CONF_SPEC, bool, BitM, 6>
Bit 6 - Set bit to test in link.
pub fn out_loop_test(
&mut self
) -> BitWriterRaw<'_, u32, DMA_CONF_SPEC, bool, BitM, 7>
pub fn out_loop_test(
&mut self
) -> BitWriterRaw<'_, u32, DMA_CONF_SPEC, bool, BitM, 7>
Bit 7 - Set bit to test out link.
pub fn out_auto_wrback(
&mut self
) -> BitWriterRaw<'_, u32, DMA_CONF_SPEC, bool, BitM, 8>
pub fn out_auto_wrback(
&mut self
) -> BitWriterRaw<'_, u32, DMA_CONF_SPEC, bool, BitM, 8>
Bit 8 - when the link is empty jump to next automatically.
pub fn out_eof_mode(
&mut self
) -> BitWriterRaw<'_, u32, DMA_CONF_SPEC, bool, BitM, 9>
pub fn out_eof_mode(
&mut self
) -> BitWriterRaw<'_, u32, DMA_CONF_SPEC, bool, BitM, 9>
Bit 9 - out eof flag generation mode . 1: when dma pop all data from fifo 0:when ahb push all data to fifo.
pub fn outdscr_burst_en(
&mut self
) -> BitWriterRaw<'_, u32, DMA_CONF_SPEC, bool, BitM, 10>
pub fn outdscr_burst_en(
&mut self
) -> BitWriterRaw<'_, u32, DMA_CONF_SPEC, bool, BitM, 10>
Bit 10 - read descriptor use burst mode when read data for memory.
pub fn indscr_burst_en(
&mut self
) -> BitWriterRaw<'_, u32, DMA_CONF_SPEC, bool, BitM, 11>
pub fn indscr_burst_en(
&mut self
) -> BitWriterRaw<'_, u32, DMA_CONF_SPEC, bool, BitM, 11>
Bit 11 - read descriptor use burst mode when write data to memory.
pub fn out_data_burst_en(
&mut self
) -> BitWriterRaw<'_, u32, DMA_CONF_SPEC, bool, BitM, 12>
pub fn out_data_burst_en(
&mut self
) -> BitWriterRaw<'_, u32, DMA_CONF_SPEC, bool, BitM, 12>
Bit 12 - spi dma read data from memory in burst mode.
pub fn dma_rx_stop(
&mut self
) -> BitWriterRaw<'_, u32, DMA_CONF_SPEC, bool, BitM, 14>
pub fn dma_rx_stop(
&mut self
) -> BitWriterRaw<'_, u32, DMA_CONF_SPEC, bool, BitM, 14>
Bit 14 - spi dma read data stop when in continue tx/rx mode.
pub fn dma_tx_stop(
&mut self
) -> BitWriterRaw<'_, u32, DMA_CONF_SPEC, bool, BitM, 15>
pub fn dma_tx_stop(
&mut self
) -> BitWriterRaw<'_, u32, DMA_CONF_SPEC, bool, BitM, 15>
Bit 15 - spi dma write data stop when in continue tx/rx mode.
pub fn dma_continue(
&mut self
) -> BitWriterRaw<'_, u32, DMA_CONF_SPEC, bool, BitM, 16>
pub fn dma_continue(
&mut self
) -> BitWriterRaw<'_, u32, DMA_CONF_SPEC, bool, BitM, 16>
Bit 16 - spi dma continue tx/rx data.
Methods from Deref<Target = W<DMA_CONF_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.