Type Alias gd32f1::gd32f190::timer15::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