Type Alias gd32f1::gd32f130::timer1::chctl2::W

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

Register CHCTL2 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn ch0en(&mut self) -> Ch0enW<'_, Chctl2Spec>

Bit 0 - Channel 0 enable

source

pub fn ch0p(&mut self) -> Ch0pW<'_, Chctl2Spec>

Bit 1 - Channel 0 polarity

source

pub fn ch0np(&mut self) -> Ch0npW<'_, Chctl2Spec>

Bit 3 - Channel 0 complementary output polarity

source

pub fn ch1en(&mut self) -> Ch1enW<'_, Chctl2Spec>

Bit 4 - Channel 1 enable

source

pub fn ch1p(&mut self) -> Ch1pW<'_, Chctl2Spec>

Bit 5 - Channel 1 polarity

source

pub fn ch1np(&mut self) -> Ch1npW<'_, Chctl2Spec>

Bit 7 - Channel 1 complementary output polarity

source

pub fn ch2en(&mut self) -> Ch2enW<'_, Chctl2Spec>

Bit 8 - Channel 2 enable

source

pub fn ch2p(&mut self) -> Ch2pW<'_, Chctl2Spec>

Bit 9 - Channel 2 polarity

source

pub fn ch2np(&mut self) -> Ch2npW<'_, Chctl2Spec>

Bit 11 - Channel 2 complementary output polarity

source

pub fn ch3en(&mut self) -> Ch3enW<'_, Chctl2Spec>

Bit 12 - Channel 3 enable

source

pub fn ch3p(&mut self) -> Ch3pW<'_, Chctl2Spec>

Bit 13 - Channel 3 polarity

source

pub fn ch3np(&mut self) -> Ch3npW<'_, Chctl2Spec>

Bit 15 - Channel 3 complementary output polarity