Enum stm32l4::stm32l4x5::opamp::opamp2_csr::PGA_GAIN_A
source · [−]#[repr(u8)]
pub enum PGA_GAIN_A {
Gain2,
Gain4,
Gain8,
Gain16,
}
Expand description
Operational amplifier Programmable amplifier gain value
Value on reset: 0
Variants
Gain2
0: Gain 2
Gain4
1: Gain 4
Gain8
2: Gain 8
Gain16
3: Gain 16
Trait Implementations
sourceimpl Clone for PGA_GAIN_A
impl Clone for PGA_GAIN_A
sourcefn clone(&self) -> PGA_GAIN_A
fn clone(&self) -> PGA_GAIN_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 PGA_GAIN_A
impl Debug for PGA_GAIN_A
sourceimpl From<PGA_GAIN_A> for u8
impl From<PGA_GAIN_A> for u8
sourcefn from(variant: PGA_GAIN_A) -> Self
fn from(variant: PGA_GAIN_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<PGA_GAIN_A> for PGA_GAIN_A
impl PartialEq<PGA_GAIN_A> for PGA_GAIN_A
impl Copy for PGA_GAIN_A
impl StructuralPartialEq for PGA_GAIN_A
Auto Trait Implementations
impl RefUnwindSafe for PGA_GAIN_A
impl Send for PGA_GAIN_A
impl Sync for PGA_GAIN_A
impl Unpin for PGA_GAIN_A
impl UnwindSafe for PGA_GAIN_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