Type Alias gd32f1::gd32f130::timer14::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 ch0nen(&mut self) -> Ch0nenW<'_, Chctl2Spec>

Bit 2 - Channel 0 complementary output enable

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 polarity

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