#[repr(u8)]pub enum Cntselselect {
Start = 0,
End = 1,
Between = 2,
Boundary = 3,
}
Expand description
Timer/counter Output Event Mode
Value on reset: 0
Variants§
Start = 0
0: An interrupt/event is generated when a new counter cycle starts
End = 1
1: An interrupt/event is generated when a counter cycle ends
Between = 2
2: An interrupt/event is generated when a counter cycle ends, except for the first and last cycles
Boundary = 3
3: An interrupt/event is generated when a new counter cycle starts or a counter cycle ends
Trait Implementations§
Source§impl Clone for Cntselselect
impl Clone for Cntselselect
Source§fn clone(&self) -> Cntselselect
fn clone(&self) -> Cntselselect
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 Cntselselect
impl Debug for Cntselselect
Source§impl From<Cntselselect> for u8
impl From<Cntselselect> for u8
Source§fn from(variant: Cntselselect) -> Self
fn from(variant: Cntselselect) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Cntselselect
impl PartialEq for Cntselselect
impl Copy for Cntselselect
impl Eq for Cntselselect
impl IsEnum for Cntselselect
impl StructuralPartialEq for Cntselselect
Auto Trait Implementations§
impl Freeze for Cntselselect
impl RefUnwindSafe for Cntselselect
impl Send for Cntselselect
impl Sync for Cntselselect
impl Unpin for Cntselselect
impl UnwindSafe for Cntselselect
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