Struct gd32vf103_pac::timer1::chctl0_output::W
source · pub struct W(_);
Expand description
Register CHCTL0_Output
writer
Implementations§
source§impl W
impl W
sourcepub fn ch0comfen(&mut self) -> CH0COMFEN_W<'_, 2>
pub fn ch0comfen(&mut self) -> CH0COMFEN_W<'_, 2>
Bit 2 - Channel 0 output compare fast enable
sourcepub fn ch0comsen(&mut self) -> CH0COMSEN_W<'_, 3>
pub fn ch0comsen(&mut self) -> CH0COMSEN_W<'_, 3>
Bit 3 - Channel 0 compare output shadow enable
sourcepub fn ch0comctl(&mut self) -> CH0COMCTL_W<'_, 4>
pub fn ch0comctl(&mut self) -> CH0COMCTL_W<'_, 4>
Bits 4:6 - Channel 0 compare output control
sourcepub fn ch0comcen(&mut self) -> CH0COMCEN_W<'_, 7>
pub fn ch0comcen(&mut self) -> CH0COMCEN_W<'_, 7>
Bit 7 - Channel 0 output compare clear enable
sourcepub fn ch1comfen(&mut self) -> CH1COMFEN_W<'_, 10>
pub fn ch1comfen(&mut self) -> CH1COMFEN_W<'_, 10>
Bit 10 - Channel 1 output compare fast enable
sourcepub fn ch1comsen(&mut self) -> CH1COMSEN_W<'_, 11>
pub fn ch1comsen(&mut self) -> CH1COMSEN_W<'_, 11>
Bit 11 - Channel 1 output compare shadow enable
sourcepub fn ch1comctl(&mut self) -> CH1COMCTL_W<'_, 12>
pub fn ch1comctl(&mut self) -> CH1COMCTL_W<'_, 12>
Bits 12:14 - Channel 1 compare output control
sourcepub fn ch1comcen(&mut self) -> CH1COMCEN_W<'_, 15>
pub fn ch1comcen(&mut self) -> CH1COMCEN_W<'_, 15>
Bit 15 - Channel 1 output compare clear enable
Methods from Deref<Target = W<CHCTL0_OUTPUT_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more