pub struct W(_);
Expand description
Register EGR
writer
Implementations
sourceimpl W
impl W
sourcepub fn ug(&mut self) -> UG_W<'_, 0>
pub fn ug(&mut self) -> UG_W<'_, 0>
Bit 0 - Update generation This bit can be set by software, it is automatically cleared by hardware.
sourcepub fn cc1g(&mut self) -> CC1G_W<'_, 1>
pub fn cc1g(&mut self) -> CC1G_W<'_, 1>
Bit 1 - Capture/Compare 1 generation This bit is set by software in order to generate an event, it is automatically cleared by hardware. If channel CC1 is configured as output: CC1IF flag is set, Corresponding interrupt or DMA request is sent if enabled. If channel CC1 is configured as input: The current value of the counter is captured in TIMx_CCR1 register. The CC1IF flag is set, the corresponding interrupt or DMA request is sent if enabled. The CC1OF flag is set if the CC1IF flag was already high.
sourcepub fn cc2g(&mut self) -> CC2G_W<'_, 2>
pub fn cc2g(&mut self) -> CC2G_W<'_, 2>
Bit 2 - Capture/Compare 2 generation Refer to CC1G description
sourcepub fn comg(&mut self) -> COMG_W<'_, 5>
pub fn comg(&mut self) -> COMG_W<'_, 5>
Bit 5 - Capture/Compare control update generation This bit can be set by software, it is automatically cleared by hardware. Note: This bit acts only on channels that have a complementary output.
sourcepub fn tg(&mut self) -> TG_W<'_, 6>
pub fn tg(&mut self) -> TG_W<'_, 6>
Bit 6 - Trigger generation This bit is set by software in order to generate an event, it is automatically cleared by hardware.
Methods from Deref<Target = W<EGR_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