Enum stm32_metapac::opamp::vals::Opamode
#[repr(u8)]pub enum Opamode {
DISABLE = 0,
DISABLE2 = 1,
ENABLE = 2,
FOLLOWER = 3,
}
Variants§
DISABLE = 0
internal PGA disable.
DISABLE2 = 1
internal PGA disable. (Duplicate)
ENABLE = 2
internal PGA enable, gain programmed in PGA_GAIN.
FOLLOWER = 3
internal follower.
Implementations§
Trait Implementations§
§impl Ord for Opamode
impl Ord for Opamode
§impl PartialOrd for Opamode
impl PartialOrd for Opamode
impl Copy for Opamode
impl Eq for Opamode
impl StructuralPartialEq for Opamode
Auto Trait Implementations§
impl Freeze for Opamode
impl RefUnwindSafe for Opamode
impl Send for Opamode
impl Sync for Opamode
impl Unpin for Opamode
impl UnwindSafe for Opamode
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
)