Enum stm32_metapac::opamp::vals::PgaGain
#[repr(u8)]pub enum PgaGain {
GAIN2 = 0,
GAIN4 = 1,
GAIN8 = 2,
GAIN16 = 3,
}
Variants§
GAIN2 = 0
internal PGA Gain 2.
GAIN4 = 1
internal PGA Gain 4.
GAIN8 = 2
internal PGA Gain 8.
GAIN16 = 3
internal PGA Gain 16.
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
)