pub enum UndervoltageStatus {
Ok,
Undervoltage,
}Expand description
Power Status
If VDD falls below the power off supply level, the device is reset and the RAM initialized to the default value. This status bit indicates that this initialization has taken place (and you might want to consider re-initializing the device).
Variants§
Ok
The device is running normally and has not been reset due to undervoltage.
Undervoltage
The device has been reset due to undervoltage.
Trait Implementations§
Source§impl Clone for UndervoltageStatus
impl Clone for UndervoltageStatus
Source§fn clone(&self) -> UndervoltageStatus
fn clone(&self) -> UndervoltageStatus
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 UndervoltageStatus
impl Debug for UndervoltageStatus
Source§impl Default for UndervoltageStatus
impl Default for UndervoltageStatus
Source§fn default() -> UndervoltageStatus
fn default() -> UndervoltageStatus
Returns the “default value” for a type. Read more
Source§impl From<bool> for UndervoltageStatus
impl From<bool> for UndervoltageStatus
Source§impl PartialEq for UndervoltageStatus
impl PartialEq for UndervoltageStatus
impl Copy for UndervoltageStatus
impl Eq for UndervoltageStatus
impl StructuralPartialEq for UndervoltageStatus
Auto Trait Implementations§
impl Freeze for UndervoltageStatus
impl RefUnwindSafe for UndervoltageStatus
impl Send for UndervoltageStatus
impl Sync for UndervoltageStatus
impl Unpin for UndervoltageStatus
impl UnwindSafe for UndervoltageStatus
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