Type Alias R

Source
pub type R = R<CONFIG_SPEC>;
Expand description

Register config reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn function(&self) -> FUNCTION_R

Bit 0 - Enable or disable DMA channel

Source

pub fn source_peripheral(&self) -> SOURCE_PERIPHERAL_R

Bits 1:5 - Set source peripheral for this DMA channel

Source

pub fn destination_peripheral(&self) -> DESTINATION_PERIPHERAL_R

Bits 6:10 - Set destination peripheral for this DMA channel

Source

pub fn flow_control(&self) -> FLOW_CONTROL_R

Bits 11:13 - Set data direction for this channel

Source

pub fn error_mask(&self) -> ERROR_MASK_R

Bit 14 - Mask error interrupt

Source

pub fn terminate_mask(&self) -> TERMINATE_MASK_R

Bit 15 - Mask terminal count interrupt

Source

pub fn active(&self) -> ACTIVE_R

Bit 16 - ??

Source

pub fn lock(&self) -> LOCK_R

Bit 16 - ??

Source

pub fn halt(&self) -> HALT_R

Bit 17 - ??

Source

pub fn linked_list_counter(&self) -> LINKED_LIST_COUNTER_R

Bits 20:29 - ??