#[repr(u8)]pub enum ActiveCfgBgmode {
BGMODE0 = 0,
BGMODE01 = 1,
BGMODE10 = 2,
_RESERVED_3 = 3,
}Variants§
BGMODE0 = 0
Bandgap disabled
BGMODE01 = 1
Bandgap enabled, buffer disabled
BGMODE10 = 2
Bandgap enabled, buffer enabled
_RESERVED_3 = 3
Implementations§
Trait Implementations§
Source§impl Clone for ActiveCfgBgmode
impl Clone for ActiveCfgBgmode
Source§fn clone(&self) -> ActiveCfgBgmode
fn clone(&self) -> ActiveCfgBgmode
Returns a duplicate 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 ActiveCfgBgmode
impl Debug for ActiveCfgBgmode
Source§impl From<ActiveCfgBgmode> for u8
impl From<ActiveCfgBgmode> for u8
Source§fn from(val: ActiveCfgBgmode) -> u8
fn from(val: ActiveCfgBgmode) -> u8
Converts to this type from the input type.
Source§impl From<u8> for ActiveCfgBgmode
impl From<u8> for ActiveCfgBgmode
Source§fn from(val: u8) -> ActiveCfgBgmode
fn from(val: u8) -> ActiveCfgBgmode
Converts to this type from the input type.
Source§impl Ord for ActiveCfgBgmode
impl Ord for ActiveCfgBgmode
Source§fn cmp(&self, other: &ActiveCfgBgmode) -> Ordering
fn cmp(&self, other: &ActiveCfgBgmode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ActiveCfgBgmode
impl PartialEq for ActiveCfgBgmode
Source§impl PartialOrd for ActiveCfgBgmode
impl PartialOrd for ActiveCfgBgmode
impl Copy for ActiveCfgBgmode
impl Eq for ActiveCfgBgmode
impl StructuralPartialEq for ActiveCfgBgmode
Auto Trait Implementations§
impl Freeze for ActiveCfgBgmode
impl RefUnwindSafe for ActiveCfgBgmode
impl Send for ActiveCfgBgmode
impl Sync for ActiveCfgBgmode
impl Unpin for ActiveCfgBgmode
impl UnwindSafe for ActiveCfgBgmode
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