Type Alias gd32f1::gd32f190::timer1::chctl0_input::R

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

Register CHCTL0_Input reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn ch0ms(&self) -> Ch0msR

Bits 0:1 - Channel 0 mode selection

source

pub fn ch0cappsc(&self) -> Ch0cappscR

Bits 2:3 - Channel 0 input capture prescaler

source

pub fn ch0capflt(&self) -> Ch0capfltR

Bits 4:7 - Channel 0 input capture filter control

source

pub fn ch1ms(&self) -> Ch1msR

Bits 8:9 - Channel 1 mode selection

source

pub fn ch1cappsc(&self) -> Ch1cappscR

Bits 10:11 - Channel 1 input capture prescaler

source

pub fn ch1capflt(&self) -> Ch1capfltR

Bits 12:15 - Channel 1 input capture filter control