Enum stm32f4xx_hal::timer::Event
source · #[repr(u32)]pub enum Event {
Update = 1,
C1 = 2,
C2 = 4,
C3 = 8,
C4 = 16,
COM = 32,
Trigger = 64,
Break = 128,
}
Expand description
TIM interrupt events
Variants§
Update = 1
Update interrupt enable
C1 = 2
Capture/Compare 1 interrupt enable
C2 = 4
Capture/Compare 2 interrupt enable
C3 = 8
Capture/Compare 3 interrupt enable
C4 = 16
Capture/Compare 4 interrupt enable
COM = 32
COM interrupt enable
Trigger = 64
Trigger interrupt enable
Break = 128
Break interrupt enable
Trait Implementations§
source§impl PartialEq for Event
impl PartialEq for Event
source§impl RawBitFlags for Event
impl RawBitFlags for Event
source§const EMPTY: Self::Numeric = {transmute(0x00000000): <timer::Event as enumflags2::_internal::RawBitFlags>::Numeric}
const EMPTY: Self::Numeric = {transmute(0x00000000): <timer::Event as enumflags2::_internal::RawBitFlags>::Numeric}
A value with no bits set.
source§const DEFAULT: Self::Numeric = {transmute(0x00000000): <timer::Event as enumflags2::_internal::RawBitFlags>::Numeric}
const DEFAULT: Self::Numeric = {transmute(0x00000000): <timer::Event as enumflags2::_internal::RawBitFlags>::Numeric}
The value used by the Default implementation. Equivalent to EMPTY, unless
customized.
source§const ALL_BITS: Self::Numeric = {transmute(0x000000ff): <timer::Event as enumflags2::_internal::RawBitFlags>::Numeric}
const ALL_BITS: Self::Numeric = {transmute(0x000000ff): <timer::Event as enumflags2::_internal::RawBitFlags>::Numeric}
A value with all flag bits set.
source§const BITFLAGS_TYPE_NAME: &'static str = "BitFlags<Event>"
const BITFLAGS_TYPE_NAME: &'static str = "BitFlags<Event>"
The name of the type for debug formatting purposes. Read more
impl Copy for Event
impl Eq for Event
impl StructuralEq for Event
impl StructuralPartialEq 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