Enum stm32f3xx_hal::timer::Event
source · #[non_exhaustive]pub enum Event {
Update,
}
Expand description
Interrupt events
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Update
Timer timed out / count down ended
Trait Implementations§
source§impl EnumSetTypePrivate for Event
impl EnumSetTypePrivate for Event
source§const ALL_BITS: Self::Repr = {transmute(0x01): <timer::Event as enumset::__internal::EnumSetTypePrivate>::Repr}
const ALL_BITS: Self::Repr = {transmute(0x01): <timer::Event as enumset::__internal::EnumSetTypePrivate>::Repr}
A mask of bits that are valid in the bitset.
source§const VARIANT_COUNT: u32 = 1u32
const VARIANT_COUNT: u32 = 1u32
The number of variants in the bitset.
source§fn enum_into_u32(self) -> u32
fn enum_into_u32(self) -> u32
Converts an enum of this type into its bit position.
source§unsafe fn enum_from_u32(val: u32) -> Self
unsafe fn enum_from_u32(val: u32) -> Self
Converts a bit position into an enum value.
source§impl PartialEq<EnumSet<Event>> for Event
impl PartialEq<EnumSet<Event>> for Event
source§impl PartialEq for Event
impl PartialEq for Event
impl Copy for Event
impl EnumSetType for Event
impl Eq for Event
Auto Trait Implementations§
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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