Type Alias gd32f1::gd32f130::timer0::chctl2::Ch0pW

source ·
pub type Ch0pW<'a, REG> = BitWriter<'a, REG, Ch0p>;
Expand description

Field CH0P writer - Channel 0 polarity

Aliased Type§

struct Ch0pW<'a, REG> { /* private fields */ }

Implementations§

source§

impl<'a, REG> Ch0pW<'a, REG>
where REG: Writable + RegisterSpec,

source

pub fn not_inverted(self) -> &'a mut W<REG>

Active high

source

pub fn inverted(self) -> &'a mut W<REG>

Active low