pub type R = R<CONFIG_SPEC>;
Expand description
Register config
reader
Aliased Type§
struct R { /* private fields */ }
Implementations§
Source§impl R
impl R
Sourcepub fn function(&self) -> FUNCTION_R
pub fn function(&self) -> FUNCTION_R
Bit 0 - Enable or disable DMA channel
Sourcepub fn source_peripheral(&self) -> SOURCE_PERIPHERAL_R
pub fn source_peripheral(&self) -> SOURCE_PERIPHERAL_R
Bits 1:5 - Set source peripheral for this DMA channel
Sourcepub fn destination_peripheral(&self) -> DESTINATION_PERIPHERAL_R
pub fn destination_peripheral(&self) -> DESTINATION_PERIPHERAL_R
Bits 6:10 - Set destination peripheral for this DMA channel
Sourcepub fn flow_control(&self) -> FLOW_CONTROL_R
pub fn flow_control(&self) -> FLOW_CONTROL_R
Bits 11:13 - Set data direction for this channel
Sourcepub fn error_mask(&self) -> ERROR_MASK_R
pub fn error_mask(&self) -> ERROR_MASK_R
Bit 14 - Mask error interrupt
Sourcepub fn terminate_mask(&self) -> TERMINATE_MASK_R
pub fn terminate_mask(&self) -> TERMINATE_MASK_R
Bit 15 - Mask terminal count interrupt
Sourcepub fn linked_list_counter(&self) -> LINKED_LIST_COUNTER_R
pub fn linked_list_counter(&self) -> LINKED_LIST_COUNTER_R
Bits 20:29 - ??