Type Alias gd32f1::gd32f190::timer0::chctl0_output::W

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

Register CHCTL0_Output writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn ch0ms(&mut self) -> Ch0msW<'_, Chctl0OutputSpec>

Bits 0:1 - Channel 0 I/O mode selection

source

pub fn ch0comfen(&mut self) -> Ch0comfenW<'_, Chctl0OutputSpec>

Bit 2 - Channel 0 output compare fast enable

source

pub fn ch0comsen(&mut self) -> Ch0comsenW<'_, Chctl0OutputSpec>

Bit 3 - Channel 0 output compare shadow enable

source

pub fn ch0comctl(&mut self) -> Ch0comctlW<'_, Chctl0OutputSpec>

Bits 4:6 - Channel 0 compare output control

source

pub fn ch0comcen(&mut self) -> Ch0comcenW<'_, Chctl0OutputSpec>

Bit 7 - Channel 0 output compare clear enable

source

pub fn ch1ms(&mut self) -> Ch1msW<'_, Chctl0OutputSpec>

Bits 8:9 - Channel 1 mode selection

source

pub fn ch1comfen(&mut self) -> Ch1comfenW<'_, Chctl0OutputSpec>

Bit 10 - Channel 1 output compare fast enable

source

pub fn ch1comsen(&mut self) -> Ch1comsenW<'_, Chctl0OutputSpec>

Bit 11 - Channel 1 output compare shadow enable

source

pub fn ch1comctl(&mut self) -> Ch1comctlW<'_, Chctl0OutputSpec>

Bits 12:14 - Channel 1 output compare mode

source

pub fn ch1comcen(&mut self) -> Ch1comcenW<'_, Chctl0OutputSpec>

Bit 15 - Channel 1 output compare clear enable