#[repr(u8)]pub enum SupplyDet {
SUPPLY_DET_0 = 0,
SUPPLY_DET_1 = 1,
_RESERVED_2 = 2,
_RESERVED_3 = 3,
}Variants§
SUPPLY_DET_0 = 0
VBAT supply is less than 3V
SUPPLY_DET_1 = 1
VBAT supply is greater than 3V
_RESERVED_2 = 2
_RESERVED_3 = 3
Implementations§
Trait Implementations§
Source§impl Ord for SupplyDet
impl Ord for SupplyDet
Source§impl PartialOrd for SupplyDet
impl PartialOrd for SupplyDet
impl Copy for SupplyDet
impl Eq for SupplyDet
impl StructuralPartialEq for SupplyDet
Auto Trait Implementations§
impl Freeze for SupplyDet
impl RefUnwindSafe for SupplyDet
impl Send for SupplyDet
impl Sync for SupplyDet
impl Unpin for SupplyDet
impl UnwindSafe for SupplyDet
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