# W in k210_pac::dmac::chen - Rust
Writer for register chen
Keywords: rust, rustlang, rust-lang, W

# Type Definition k210_pac::dmac::chen::W

source · [−]

    pub type W = W<u64, CHEN>;

Expand description

Writer for register chen

## Implementations

source

### impl W

source

#### pub unsafe fn ch_en(&mut self, n: usize) -> CH_EN_W<'_>

Enable channel (1-6)

source

#### pub fn ch1_en(&mut self) -> CH_EN_W<'_>

Bit 0 - Enable channel 1

source

#### pub fn ch2_en(&mut self) -> CH_EN_W<'_>

Bit 1 - Enable channel 2

source

#### pub fn ch3_en(&mut self) -> CH_EN_W<'_>

Bit 2 - Enable channel 3

source

#### pub fn ch4_en(&mut self) -> CH_EN_W<'_>

Bit 3 - Enable channel 4

source

#### pub fn ch5_en(&mut self) -> CH_EN_W<'_>

Bit 4 - Enable channel 5

source

#### pub fn ch6_en(&mut self) -> CH_EN_W<'_>

Bit 5 - Enable channel 6

source

#### pub unsafe fn ch_en_we(&mut self, n: usize) -> CH_EN_WE_W<'_>

Write enable channel (1-6)

source

#### pub fn ch1_en_we(&mut self) -> CH_EN_WE_W<'_>

Bit 8 - Write enable channel 1

source

#### pub fn ch2_en_we(&mut self) -> CH_EN_WE_W<'_>

Bit 9 - Write enable channel 2

source

#### pub fn ch3_en_we(&mut self) -> CH_EN_WE_W<'_>

Bit 10 - Write enable channel 3

source

#### pub fn ch4_en_we(&mut self) -> CH_EN_WE_W<'_>

Bit 11 - Write enable channel 4

source

#### pub fn ch5_en_we(&mut self) -> CH_EN_WE_W<'_>

Bit 12 - Write enable channel 5

source

#### pub fn ch6_en_we(&mut self) -> CH_EN_WE_W<'_>

Bit 13 - Write enable channel 6

source

#### pub unsafe fn ch_susp(&mut self, n: usize) -> CH_SUSP_W<'_>

Suspend request channel (1-6)

source

#### pub fn ch1_susp(&mut self) -> CH_SUSP_W<'_>

Bit 16 - Suspend request channel 1

source

#### pub fn ch2_susp(&mut self) -> CH_SUSP_W<'_>

Bit 17 - Suspend request channel 2

source

#### pub fn ch3_susp(&mut self) -> CH_SUSP_W<'_>

Bit 18 - Suspend request channel 3

source

#### pub fn ch4_susp(&mut self) -> CH_SUSP_W<'_>

Bit 19 - Suspend request channel 4

source

#### pub fn ch5_susp(&mut self) -> CH_SUSP_W<'_>

Bit 20 - Suspend request channel 5

source

#### pub fn ch6_susp(&mut self) -> CH_SUSP_W<'_>

Bit 21 - Suspend request channel 6

source

#### pub unsafe fn ch_susp_we(&mut self, n: usize) -> CH_SUSP_WE_W<'_>

Enable write to ch(1-6)_susp bit

source

#### pub fn ch1_susp_we(&mut self) -> CH_SUSP_WE_W<'_>

Bit 24 - Enable write to ch1_susp bit

source

#### pub fn ch2_susp_we(&mut self) -> CH_SUSP_WE_W<'_>

Bit 25 - Enable write to ch2_susp bit

source

#### pub fn ch3_susp_we(&mut self) -> CH_SUSP_WE_W<'_>

Bit 26 - Enable write to ch3_susp bit

source

#### pub fn ch4_susp_we(&mut self) -> CH_SUSP_WE_W<'_>

Bit 27 - Enable write to ch4_susp bit

source

#### pub fn ch5_susp_we(&mut self) -> CH_SUSP_WE_W<'_>

Bit 28 - Enable write to ch5_susp bit

source

#### pub fn ch6_susp_we(&mut self) -> CH_SUSP_WE_W<'_>

Bit 29 - Enable write to ch6_susp bit

source

#### pub unsafe fn ch_abort(&mut self, n: usize) -> CH_ABORT_W<'_>

Abort request channel (1-6)

source

#### pub fn ch1_abort(&mut self) -> CH_ABORT_W<'_>

Bit 32 - Abort request channel 1

source

#### pub fn ch2_abort(&mut self) -> CH_ABORT_W<'_>

Bit 33 - Abort request channel 2

source

#### pub fn ch3_abort(&mut self) -> CH_ABORT_W<'_>

Bit 34 - Abort request channel 3

source

#### pub fn ch4_abort(&mut self) -> CH_ABORT_W<'_>

Bit 35 - Abort request channel 4

source

#### pub fn ch5_abort(&mut self) -> CH_ABORT_W<'_>

Bit 36 - Abort request channel 5

source

#### pub fn ch6_abort(&mut self) -> CH_ABORT_W<'_>

Bit 37 - Abort request channel 6

source

#### pub unsafe fn ch_abort_we(&mut self, n: usize) -> CH_ABORT_WE_W<'_>

Enable write to ch(1-6)_abort bit

source

#### pub fn ch1_abort_we(&mut self) -> CH_ABORT_WE_W<'_>

Bit 40 - Enable write to ch1_abort bit

source

#### pub fn ch2_abort_we(&mut self) -> CH_ABORT_WE_W<'_>

Bit 41 - Enable write to ch2_abort bit

source

#### pub fn ch3_abort_we(&mut self) -> CH_ABORT_WE_W<'_>

Bit 42 - Enable write to ch3_abort bit

source

#### pub fn ch4_abort_we(&mut self) -> CH_ABORT_WE_W<'_>

Bit 43 - Enable write to ch4_abort bit

source

#### pub fn ch5_abort_we(&mut self) -> CH_ABORT_WE_W<'_>

Bit 44 - Enable write to ch5_abort bit

source

#### pub fn ch6_abort_we(&mut self) -> CH_ABORT_WE_W<'_>

Bit 45 - Enable write to ch6_abort bit