Type Alias gd32f1::gd32f190::timer14::chctl2::R

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

Register CHCTL2 reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn ch0en(&self) -> Ch0enR

Bit 0 - Channel 0 enable

source

pub fn ch0p(&self) -> Ch0pR

Bit 1 - Channel 0 polarity

source

pub fn ch0nen(&self) -> Ch0nenR

Bit 2 - Channel 0 complementary output enable

source

pub fn ch0np(&self) -> Ch0npR

Bit 3 - Channel 0 complementary output polarity

source

pub fn ch1en(&self) -> Ch1enR

Bit 4 - Channel 1 polarity

source

pub fn ch1p(&self) -> Ch1pR

Bit 5 - Channel 1 polarity

source

pub fn ch1np(&self) -> Ch1npR

Bit 7 - Channel 1 complementary output polarity