Type Alias gd32e1::gd32e103::timer0::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 capture/compare function enable

source

pub fn ch0p(&self) -> Ch0pR

Bit 1 - Channel 0 capture/compare function 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 capture/compare function enable

source

pub fn ch1p(&self) -> Ch1pR

Bit 5 - Channel 1 capture/compare function polarity

source

pub fn ch1nen(&self) -> Ch1nenR

Bit 6 - Channel 1 complementary output enable

source

pub fn ch1np(&self) -> Ch1npR

Bit 7 - Channel 1 complementary output polarity

source

pub fn ch2en(&self) -> Ch2enR

Bit 8 - Channel 2 capture/compare function enable

source

pub fn ch2p(&self) -> Ch2pR

Bit 9 - Channel 2 capture/compare function polarity

source

pub fn ch2nen(&self) -> Ch2nenR

Bit 10 - Channel 2 complementary output enable

source

pub fn ch2np(&self) -> Ch2npR

Bit 11 - Channel 2 complementary output polarity

source

pub fn ch3en(&self) -> Ch3enR

Bit 12 - Channel 3 capture/compare function enable

source

pub fn ch3p(&self) -> Ch3pR

Bit 13 - Channel 3 capture/compare function polarity