Type Alias gd32f1::gd32f190::timer0::chctl0_output::R

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

Register CHCTL0_Output reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn ch0ms(&self) -> Ch0msR

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

source

pub fn ch0comfen(&self) -> Ch0comfenR

Bit 2 - Channel 0 output compare fast enable

source

pub fn ch0comsen(&self) -> Ch0comsenR

Bit 3 - Channel 0 output compare shadow enable

source

pub fn ch0comctl(&self) -> Ch0comctlR

Bits 4:6 - Channel 0 compare output control

source

pub fn ch0comcen(&self) -> Ch0comcenR

Bit 7 - Channel 0 output compare clear enable

source

pub fn ch1ms(&self) -> Ch1msR

Bits 8:9 - Channel 1 mode selection

source

pub fn ch1comfen(&self) -> Ch1comfenR

Bit 10 - Channel 1 output compare fast enable

source

pub fn ch1comsen(&self) -> Ch1comsenR

Bit 11 - Channel 1 output compare shadow enable

source

pub fn ch1comctl(&self) -> Ch1comctlR

Bits 12:14 - Channel 1 output compare mode

source

pub fn ch1comcen(&self) -> Ch1comcenR

Bit 15 - Channel 1 output compare clear enable