Enum gd32f1x0_hal::pac::cmp::cs::CMP1OSEL_A
source · [−]#[repr(u8)]
pub enum CMP1OSEL_A {
NOSELECTION,
TIMER0BREAKINPUT,
TIMER0INPUTCAPTURE0,
TIMER0OCPRECLEARINPUT,
TIMER1INPUTCAPTURE3,
TIMER1OCPRECLEARINPUT,
TIMER2INPUTCAPTURE0,
TIMER2OCPRECLEARINPUT,
}
Expand description
Comparator 0 output selection
Value on reset: 0
Variants
NOSELECTION
0: No selection
TIMER0BREAKINPUT
1: Timer 0 break input
TIMER0INPUTCAPTURE0
2: Timer 0 Input capture 0
TIMER0OCPRECLEARINPUT
3: Timer 0 OCPRE_CLR input
TIMER1INPUTCAPTURE3
4: Timer 1 input capture 3
TIMER1OCPRECLEARINPUT
5: Timer 1 OCPRE_CLR input
TIMER2INPUTCAPTURE0
6: Timer 2 input capture 0
TIMER2OCPRECLEARINPUT
7: Timer 2 OCPRE_CLR input
Trait Implementations
sourceimpl Clone for CMP0OSEL_A
impl Clone for CMP0OSEL_A
sourcefn clone(&self) -> CMP0OSEL_A
fn clone(&self) -> CMP0OSEL_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CMP0OSEL_A
impl Debug for CMP0OSEL_A
sourceimpl PartialEq<CMP0OSEL_A> for CMP0OSEL_A
impl PartialEq<CMP0OSEL_A> for CMP0OSEL_A
impl Copy for CMP0OSEL_A
impl StructuralPartialEq for CMP0OSEL_A
Auto Trait Implementations
impl RefUnwindSafe for CMP0OSEL_A
impl Send for CMP0OSEL_A
impl Sync for CMP0OSEL_A
impl Unpin for CMP0OSEL_A
impl UnwindSafe for CMP0OSEL_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more