pub struct W(_);
Expand description
Register CCR5
writer
Implementations
sourceimpl W
impl W
sourcepub fn ccr5(&mut self) -> CCR5_W<'_, 0>
pub fn ccr5(&mut self) -> CCR5_W<'_, 0>
Bits 0:15 - Capture/Compare 5 value CCR5 is the value to be loaded in the actual capture/compare 5 register (preload value). It is loaded permanently if the preload feature is not selected in the TIMx_CCMR3 register (bit OC5PE). Else the preload value is copied in the active capture/compare 5 register when an update event occurs. The active capture/compare register contains the value to be compared to the counter TIMx_CNT and signaled on OC5 output.
sourcepub fn gc5c1(&mut self) -> GC5C1_W<'_, 29>
pub fn gc5c1(&mut self) -> GC5C1_W<'_, 29>
Bit 29 - Group Channel 5 and Channel 1 Distortion on Channel 1 output: This bit can either have immediate effect or be preloaded and taken into account after an update event (if preload feature is selected in TIMxCCMR1). Note: it is also possible to apply this distortion on combined PWM signals.
sourcepub fn gc5c2(&mut self) -> GC5C2_W<'_, 30>
pub fn gc5c2(&mut self) -> GC5C2_W<'_, 30>
Bit 30 - Group Channel 5 and Channel 2 Distortion on Channel 2 output: This bit can either have immediate effect or be preloaded and taken into account after an update event (if preload feature is selected in TIMxCCMR1). Note: it is also possible to apply this distortion on combined PWM signals.
sourcepub fn gc5c3(&mut self) -> GC5C3_W<'_, 31>
pub fn gc5c3(&mut self) -> GC5C3_W<'_, 31>
Bit 31 - Group Channel 5 and Channel 3 Distortion on Channel 3 output: This bit can either have immediate effect or be preloaded and taken into account after an update event (if preload feature is selected in TIMxCCMR2). Note: it is also possible to apply this distortion on combined PWM signals.
Methods from Deref<Target = W<CCR5_SPEC>>
Trait Implementations
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more