Type Alias gd32f1::gd32f190::timer1::chctl1_output::W

source ·
pub type W = W<Chctl1OutputSpec>;
Expand description

Register CHCTL1_Output writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn ch2ms(&mut self) -> Ch2msW<'_, Chctl1OutputSpec>

Bits 0:1 - Channel 2 mode selection

source

pub fn ch2comfen(&mut self) -> Ch2comfenW<'_, Chctl1OutputSpec>

Bit 2 - Channel 2 output compare fast enable

source

pub fn ch2comsen(&mut self) -> Ch2comsenW<'_, Chctl1OutputSpec>

Bit 3 - Channel 2 output compare shadow enable

source

pub fn ch2comctl(&mut self) -> Ch2comctlW<'_, Chctl1OutputSpec>

Bits 4:6 - Channel 2 compare output control

source

pub fn ch2comcen(&mut self) -> Ch2comcenW<'_, Chctl1OutputSpec>

Bit 7 - Channel 2 output compare clear enable

source

pub fn ch3ms(&mut self) -> Ch3msW<'_, Chctl1OutputSpec>

Bits 8:9 - Channel 3 mode selection

source

pub fn ch3comfen(&mut self) -> Ch3comfenW<'_, Chctl1OutputSpec>

Bit 10 - Channel 3 output compare fast enable

source

pub fn ch3comsen(&mut self) -> Ch3comsenW<'_, Chctl1OutputSpec>

Bit 11 - Channel 3 compare output control

source

pub fn ch3comctl(&mut self) -> Ch3comctlW<'_, Chctl1OutputSpec>

Bits 12:14 - Channel 3 compare output control

source

pub fn ch3comcen(&mut self) -> Ch3comcenW<'_, Chctl1OutputSpec>

Bit 15 - Channel 3 output compare clear enable