Type Alias gd32f1::gd32f130::timer0::chctl1_output::R

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

Register CHCTL1_Output reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn ch2ms(&self) -> Ch2msR

Bits 0:1 - Channel 2 mode selection

source

pub fn ch2comfen(&self) -> Ch2comfenR

Bit 2 - Channel 2 output compare fast enable

source

pub fn ch2comsen(&self) -> Ch2comsenR

Bit 3 - Channel 2 output compare shadow enable

source

pub fn ch2comctl(&self) -> Ch2comctlR

Bits 4:6 - Channel 2 compare output control

source

pub fn ch2comcen(&self) -> Ch2comcenR

Bit 7 - Channel 2 output compare clear enable

source

pub fn ch3ms(&self) -> Ch3msR

Bits 8:9 - Channel 3 mode selection

source

pub fn ch3comfen(&self) -> Ch3comfenR

Bit 10 - Channel 3 output compare fast enable

source

pub fn ch3comsen(&self) -> Ch3comsenR

Bit 11 - Channel 3 output compare shadow enable

source

pub fn ch3comctl(&self) -> Ch3comctlR

Bits 12:14 - Channel 3 compare output control

source

pub fn ch3comcen(&self) -> Ch3comcenR

Bit 15 - Channel 3 output compare clear enable