Enum stm32_hal2::timer::UpdateReqSrc
source · #[repr(u8)]pub enum UpdateReqSrc {
Any = 0,
OverUnderFlow = 1,
}
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 = 0
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 = 1
Only counter overflow/underflow generates an update interrupt or DMA request.
Trait Implementations§
source§impl Clone for UpdateReqSrc
impl Clone for UpdateReqSrc
source§fn clone(&self) -> UpdateReqSrc
fn clone(&self) -> UpdateReqSrc
Returns a copy of the value. Read more
1.0.0 · source§fn 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§
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