#[repr(u8)]
pub enum UpdateReqSrc {
    Any,
    OverUnderFlow,
}
Expand description

Update Request source. This bit is set and cleared by software to select the UEV event sources. Sets TIMx_CR1 register, URS field.

Variants

Any

Any of the following events generate an update interrupt or DMA request. These events can be: – Counter overflow/underflow – Setting the UG bit – Update generation through the slave mode controller

OverUnderFlow

Only counter overflow/underflow generates an update interrupt or DMA request.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.