pub type W = W<Chctl2Spec>;
Expand description
Register CHCTL2
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn ch0en(&mut self) -> Ch0enW<'_, Chctl2Spec>
pub fn ch0en(&mut self) -> Ch0enW<'_, Chctl2Spec>
Bit 0 - Channel 0 capture/compare function enable
sourcepub fn ch0p(&mut self) -> Ch0pW<'_, Chctl2Spec>
pub fn ch0p(&mut self) -> Ch0pW<'_, Chctl2Spec>
Bit 1 - Channel 0 capture/compare function polarity
sourcepub fn ch0np(&mut self) -> Ch0npW<'_, Chctl2Spec>
pub fn ch0np(&mut self) -> Ch0npW<'_, Chctl2Spec>
Bit 3 - Channel 0 complementary output polarity
sourcepub fn ch1en(&mut self) -> Ch1enW<'_, Chctl2Spec>
pub fn ch1en(&mut self) -> Ch1enW<'_, Chctl2Spec>
Bit 4 - Channel 1 capture/compare function enable
sourcepub fn ch1p(&mut self) -> Ch1pW<'_, Chctl2Spec>
pub fn ch1p(&mut self) -> Ch1pW<'_, Chctl2Spec>
Bit 5 - Channel 1 capture/compare function polarity
sourcepub fn ch1np(&mut self) -> Ch1npW<'_, Chctl2Spec>
pub fn ch1np(&mut self) -> Ch1npW<'_, Chctl2Spec>
Bit 7 - Channel 1 complementary output polarity