pub type W = W<CONFIG_SPEC>;
Expand description
Register config
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
Source§impl W
impl W
Sourcepub fn function(&mut self) -> FUNCTION_W<'_, CONFIG_SPEC>
pub fn function(&mut self) -> FUNCTION_W<'_, CONFIG_SPEC>
Bit 0 - Enable or disable DMA channel
Sourcepub fn source_peripheral(&mut self) -> SOURCE_PERIPHERAL_W<'_, CONFIG_SPEC>
pub fn source_peripheral(&mut self) -> SOURCE_PERIPHERAL_W<'_, CONFIG_SPEC>
Bits 1:5 - Set source peripheral for this DMA channel
Sourcepub fn destination_peripheral(
&mut self,
) -> DESTINATION_PERIPHERAL_W<'_, CONFIG_SPEC>
pub fn destination_peripheral( &mut self, ) -> DESTINATION_PERIPHERAL_W<'_, CONFIG_SPEC>
Bits 6:10 - Set destination peripheral for this DMA channel
Sourcepub fn flow_control(&mut self) -> FLOW_CONTROL_W<'_, CONFIG_SPEC>
pub fn flow_control(&mut self) -> FLOW_CONTROL_W<'_, CONFIG_SPEC>
Bits 11:13 - Set data direction for this channel
Sourcepub fn error_mask(&mut self) -> ERROR_MASK_W<'_, CONFIG_SPEC>
pub fn error_mask(&mut self) -> ERROR_MASK_W<'_, CONFIG_SPEC>
Bit 14 - Mask error interrupt
Sourcepub fn terminate_mask(&mut self) -> TERMINATE_MASK_W<'_, CONFIG_SPEC>
pub fn terminate_mask(&mut self) -> TERMINATE_MASK_W<'_, CONFIG_SPEC>
Bit 15 - Mask terminal count interrupt
Sourcepub fn lock(&mut self) -> LOCK_W<'_, CONFIG_SPEC>
pub fn lock(&mut self) -> LOCK_W<'_, CONFIG_SPEC>
Bit 16 - ??
Sourcepub fn halt(&mut self) -> HALT_W<'_, CONFIG_SPEC>
pub fn halt(&mut self) -> HALT_W<'_, CONFIG_SPEC>
Bit 17 - ??
Sourcepub fn linked_list_counter(&mut self) -> LINKED_LIST_COUNTER_W<'_, CONFIG_SPEC>
pub fn linked_list_counter(&mut self) -> LINKED_LIST_COUNTER_W<'_, CONFIG_SPEC>
Bits 20:29 - ??