Enum gd32f1x0_hal::pac::cmp::cs::CMP1MSEL_A
source · [−]#[repr(u8)]
pub enum CMP1MSEL_A {
ONEQUARTERVREF,
ONEHALFVREF,
THREEQUARTERVREF,
VREF,
PA4,
PA5,
PA0,
}
Expand description
CMP0_M input selection
Value on reset: 0
Variants
ONEQUARTERVREF
0: 1/4 of VRefint
ONEHALFVREF
1: 1/2 of VRefint
THREEQUARTERVREF
2: 3/4 of VRefint
VREF
3: VRefint
PA4
4: PA4 (DAC0
PA5
5: PA5
PA0
6: PA0
Trait Implementations
sourceimpl Clone for CMP0MSEL_A
impl Clone for CMP0MSEL_A
sourcefn clone(&self) -> CMP0MSEL_A
fn clone(&self) -> CMP0MSEL_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 CMP0MSEL_A
impl Debug for CMP0MSEL_A
sourceimpl PartialEq<CMP0MSEL_A> for CMP0MSEL_A
impl PartialEq<CMP0MSEL_A> for CMP0MSEL_A
impl Copy for CMP0MSEL_A
impl StructuralPartialEq for CMP0MSEL_A
Auto Trait Implementations
impl RefUnwindSafe for CMP0MSEL_A
impl Send for CMP0MSEL_A
impl Sync for CMP0MSEL_A
impl Unpin for CMP0MSEL_A
impl UnwindSafe for CMP0MSEL_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