Enum lpc81x_pac::lpc812::acomp::ctrl::COMP_VM_SEL_A
source · #[repr(u8)]
pub enum COMP_VM_SEL_A {
VOLTAGE_LADDER_OUTPUT,
ACMP_I1,
ACMP_I2,
ACMP_I3,
ACMP_I4,
ACMP_I5,
BAND_GAP,
DACOUT0,
}
Expand description
Selects negative voltage input
Value on reset: 0
Variants§
VOLTAGE_LADDER_OUTPUT
0: VOLTAGE_LADDER_OUTPUT
ACMP_I1
1: ACMP_I1
ACMP_I2
2: ACMP_I2
ACMP_I3
3: ACMP_I3
ACMP_I4
4: ACMP_I4
ACMP_I5
5: ACMP_I5
BAND_GAP
6: Band gap. Internal reference voltage.
DACOUT0
7: DAC0 output
Trait Implementations§
source§impl Clone for COMP_VM_SEL_A
impl Clone for COMP_VM_SEL_A
source§fn clone(&self) -> COMP_VM_SEL_A
fn clone(&self) -> COMP_VM_SEL_A
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 COMP_VM_SEL_A
impl Debug for COMP_VM_SEL_A
source§impl From<COMP_VM_SEL_A> for u8
impl From<COMP_VM_SEL_A> for u8
source§fn from(variant: COMP_VM_SEL_A) -> Self
fn from(variant: COMP_VM_SEL_A) -> Self
Converts to this type from the input type.