#[repr(u8)]pub enum Evact1select {
Off = 0,
Retrigger = 1,
Dir = 2,
Stop = 3,
Dec = 4,
Ppw = 5,
Pwp = 6,
Fault = 7,
}
Expand description
Timer/counter Input Event1 Action
Value on reset: 0
Variants§
Off = 0
0: Event action disabled
Retrigger = 1
1: Re-trigger counter on event
Dir = 2
2: Direction control
Stop = 3
3: Stop counter on event
Dec = 4
4: Decrement counter on event
Ppw = 5
5: Period capture value in CC0 register, pulse width capture value in CC1 register
Pwp = 6
6: Period capture value in CC1 register, pulse width capture value in CC0 register
Fault = 7
7: Non-recoverable fault
Trait Implementations§
Source§impl Clone for Evact1select
impl Clone for Evact1select
Source§fn clone(&self) -> Evact1select
fn clone(&self) -> Evact1select
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 moreSource§impl Debug for Evact1select
impl Debug for Evact1select
Source§impl From<Evact1select> for u8
impl From<Evact1select> for u8
Source§fn from(variant: Evact1select) -> Self
fn from(variant: Evact1select) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Evact1select
impl PartialEq for Evact1select
impl Copy for Evact1select
impl Eq for Evact1select
impl IsEnum for Evact1select
impl StructuralPartialEq for Evact1select
Auto Trait Implementations§
impl Freeze for Evact1select
impl RefUnwindSafe for Evact1select
impl Send for Evact1select
impl Sync for Evact1select
impl Unpin for Evact1select
impl UnwindSafe for Evact1select
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