Type Alias gd32f1::gd32f130::timer1::chctl1_input::W

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

Register CHCTL1_Input writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

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

Bits 0:1 - Channel 2 mode selection

source

pub fn ch2cappsc(&mut self) -> Ch2cappscW<'_, Chctl1InputSpec>

Bits 2:3 - Channel 2 input capture prescaler

source

pub fn ch2capflt(&mut self) -> Ch2capfltW<'_, Chctl1InputSpec>

Bits 4:7 - Channel 2 input capture filter control

source

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

Bits 8:9 - Channel 3 mode selection

source

pub fn ch3cappsc(&mut self) -> Ch3cappscW<'_, Chctl1InputSpec>

Bits 10:11 - Channel 3 input capture prescaler

source

pub fn ch3capflt(&mut self) -> Ch3capfltW<'_, Chctl1InputSpec>

Bits 12:15 - Channel 3 input capture filter control