Enum stm32_metapac::opamp::vals::PgaGain
#[repr(u8)]pub enum PgaGain {
Show 16 variants
GAIN2 = 0,
GAIN4 = 1,
GAIN8 = 2,
_RESERVED_3 = 3,
GAIN16 = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
GAIN2_VM0 = 8,
GAIN4_VM0 = 9,
GAIN8_VM0 = 10,
GAIN16_VM0 = 11,
GAIN2_VM1 = 12,
GAIN4_VM1 = 13,
GAIN8_VM1 = 14,
GAIN16_VM1 = 15,
}
Variants§
GAIN2 = 0
Gain 2
GAIN4 = 1
Gain 4
GAIN8 = 2
Gain 8
_RESERVED_3 = 3
GAIN16 = 4
Gain 16
_RESERVED_5 = 5
_RESERVED_6 = 6
_RESERVED_7 = 7
GAIN2_VM0 = 8
Gain 2, feedback connected to VM0
GAIN4_VM0 = 9
Gain 4, feedback connected to VM0
GAIN8_VM0 = 10
Gain 8, feedback connected to VM0
GAIN16_VM0 = 11
Gain 16, feedback connected to VM0
GAIN2_VM1 = 12
Gain 2, feedback connected to VM1
GAIN4_VM1 = 13
Gain 4, feedback connected to VM1
GAIN8_VM1 = 14
Gain 8, feedback connected to VM1
GAIN16_VM1 = 15
Gain 16, feedback connected to VM1
Implementations§
Trait Implementations§
§impl Ord for PgaGain
impl Ord for PgaGain
§impl PartialOrd for PgaGain
impl PartialOrd for PgaGain
impl Copy for PgaGain
impl Eq for PgaGain
impl StructuralPartialEq for PgaGain
Auto Trait Implementations§
impl Freeze for PgaGain
impl RefUnwindSafe for PgaGain
impl Send for PgaGain
impl Sync for PgaGain
impl Unpin for PgaGain
impl UnwindSafe for PgaGain
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)