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