k210_pac::dmac::chen

Type Alias R

Source
pub type R = R<u64, CHEN>;
Expand description

Reader of register chen

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub unsafe fn ch_en(&self, n: usize) -> CH_EN_R

Enable channel (1-6)

Source

pub fn ch1_en(&self) -> CH_EN_R

Bit 0 - Enable channel 1

Source

pub fn ch2_en(&self) -> CH_EN_R

Bit 1 - Enable channel 2

Source

pub fn ch3_en(&self) -> CH_EN_R

Bit 2 - Enable channel 3

Source

pub fn ch4_en(&self) -> CH_EN_R

Bit 3 - Enable channel 4

Source

pub fn ch5_en(&self) -> CH_EN_R

Bit 4 - Enable channel 5

Source

pub fn ch6_en(&self) -> CH_EN_R

Bit 5 - Enable channel 6

Source

pub unsafe fn ch_en_we(&self, n: usize) -> CH_EN_WE_R

Write enable channel (1-6)

Source

pub fn ch1_en_we(&self) -> CH_EN_WE_R

Bit 8 - Write enable channel 1

Source

pub fn ch2_en_we(&self) -> CH_EN_WE_R

Bit 9 - Write enable channel 2

Source

pub fn ch3_en_we(&self) -> CH_EN_WE_R

Bit 10 - Write enable channel 3

Source

pub fn ch4_en_we(&self) -> CH_EN_WE_R

Bit 11 - Write enable channel 4

Source

pub fn ch5_en_we(&self) -> CH_EN_WE_R

Bit 12 - Write enable channel 5

Source

pub fn ch6_en_we(&self) -> CH_EN_WE_R

Bit 13 - Write enable channel 6

Source

pub unsafe fn ch_susp(&self, n: usize) -> CH_SUSP_R

Suspend request channel (1-6)

Source

pub fn ch1_susp(&self) -> CH_SUSP_R

Bit 16 - Suspend request channel 1

Source

pub fn ch2_susp(&self) -> CH_SUSP_R

Bit 17 - Suspend request channel 2

Source

pub fn ch3_susp(&self) -> CH_SUSP_R

Bit 18 - Suspend request channel 3

Source

pub fn ch4_susp(&self) -> CH_SUSP_R

Bit 19 - Suspend request channel 4

Source

pub fn ch5_susp(&self) -> CH_SUSP_R

Bit 20 - Suspend request channel 5

Source

pub fn ch6_susp(&self) -> CH_SUSP_R

Bit 21 - Suspend request channel 6

Source

pub unsafe fn ch_susp_we(&self, n: usize) -> CH_SUSP_WE_R

Enable write to ch(1-6)_susp bit

Source

pub fn ch1_susp_we(&self) -> CH_SUSP_WE_R

Bit 24 - Enable write to ch1_susp bit

Source

pub fn ch2_susp_we(&self) -> CH_SUSP_WE_R

Bit 25 - Enable write to ch2_susp bit

Source

pub fn ch3_susp_we(&self) -> CH_SUSP_WE_R

Bit 26 - Enable write to ch3_susp bit

Source

pub fn ch4_susp_we(&self) -> CH_SUSP_WE_R

Bit 27 - Enable write to ch4_susp bit

Source

pub fn ch5_susp_we(&self) -> CH_SUSP_WE_R

Bit 28 - Enable write to ch5_susp bit

Source

pub fn ch6_susp_we(&self) -> CH_SUSP_WE_R

Bit 29 - Enable write to ch6_susp bit

Source

pub unsafe fn ch_abort(&self, n: usize) -> CH_ABORT_R

Abort request channel (1-6)

Source

pub fn ch1_abort(&self) -> CH_ABORT_R

Bit 32 - Abort request channel 1

Source

pub fn ch2_abort(&self) -> CH_ABORT_R

Bit 33 - Abort request channel 2

Source

pub fn ch3_abort(&self) -> CH_ABORT_R

Bit 34 - Abort request channel 3

Source

pub fn ch4_abort(&self) -> CH_ABORT_R

Bit 35 - Abort request channel 4

Source

pub fn ch5_abort(&self) -> CH_ABORT_R

Bit 36 - Abort request channel 5

Source

pub fn ch6_abort(&self) -> CH_ABORT_R

Bit 37 - Abort request channel 6

Source

pub unsafe fn ch_abort_we(&self, n: usize) -> CH_ABORT_WE_R

Enable write to ch(1-6)_abort bit

Source

pub fn ch1_abort_we(&self) -> CH_ABORT_WE_R

Bit 40 - Enable write to ch1_abort bit

Source

pub fn ch2_abort_we(&self) -> CH_ABORT_WE_R

Bit 41 - Enable write to ch2_abort bit

Source

pub fn ch3_abort_we(&self) -> CH_ABORT_WE_R

Bit 42 - Enable write to ch3_abort bit

Source

pub fn ch4_abort_we(&self) -> CH_ABORT_WE_R

Bit 43 - Enable write to ch4_abort bit

Source

pub fn ch5_abort_we(&self) -> CH_ABORT_WE_R

Bit 44 - Enable write to ch5_abort bit

Source

pub fn ch6_abort_we(&self) -> CH_ABORT_WE_R

Bit 45 - Enable write to ch6_abort bit