#[repr(u8)]pub enum LpCfgBgmode {
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§
Source§impl LpCfgBgmode
impl LpCfgBgmode
Trait Implementations§
Source§impl Clone for LpCfgBgmode
impl Clone for LpCfgBgmode
Source§fn clone(&self) -> LpCfgBgmode
fn clone(&self) -> LpCfgBgmode
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 LpCfgBgmode
impl Debug for LpCfgBgmode
Source§impl From<LpCfgBgmode> for u8
impl From<LpCfgBgmode> for u8
Source§fn from(val: LpCfgBgmode) -> u8
fn from(val: LpCfgBgmode) -> u8
Converts to this type from the input type.
Source§impl From<u8> for LpCfgBgmode
impl From<u8> for LpCfgBgmode
Source§fn from(val: u8) -> LpCfgBgmode
fn from(val: u8) -> LpCfgBgmode
Converts to this type from the input type.
Source§impl Ord for LpCfgBgmode
impl Ord for LpCfgBgmode
Source§fn cmp(&self, other: &LpCfgBgmode) -> Ordering
fn cmp(&self, other: &LpCfgBgmode) -> 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 LpCfgBgmode
impl PartialEq for LpCfgBgmode
Source§impl PartialOrd for LpCfgBgmode
impl PartialOrd for LpCfgBgmode
impl Copy for LpCfgBgmode
impl Eq for LpCfgBgmode
impl StructuralPartialEq for LpCfgBgmode
Auto Trait Implementations§
impl Freeze for LpCfgBgmode
impl RefUnwindSafe for LpCfgBgmode
impl Send for LpCfgBgmode
impl Sync for LpCfgBgmode
impl Unpin for LpCfgBgmode
impl UnwindSafe for LpCfgBgmode
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