Enum stm32_hal2::timer::UpdateReqSrc
source · [−]#[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
sourceimpl Clone for UpdateReqSrc
impl Clone for UpdateReqSrc
sourcefn clone(&self) -> UpdateReqSrc
fn clone(&self) -> UpdateReqSrc
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for UpdateReqSrc
Auto Trait Implementations
impl RefUnwindSafe for UpdateReqSrc
impl Send for UpdateReqSrc
impl Sync for UpdateReqSrc
impl Unpin for UpdateReqSrc
impl UnwindSafe for UpdateReqSrc
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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