#[repr(u8)]
pub enum PWRCON_A {
NONE,
BUMAIN,
MAINBU,
NODIODE,
}
Expand description
Power connection configuration when in Backup mode
Value on reset: 0
Variants
NONE
0: No connection.
BUMAIN
1: Main power and backup power are connected through a diode, allowing current to flow from backup power source to main power source, but not the other way.
MAINBU
2: Main power and backup power are connected through a diode, allowing current to flow from main power source to backup power source, but not the other way.
NODIODE
3: Main power and backup power are connected without diode.
Trait Implementations
impl Copy for PWRCON_A
impl StructuralPartialEq for PWRCON_A
Auto Trait Implementations
impl RefUnwindSafe for PWRCON_A
impl Send for PWRCON_A
impl Sync for PWRCON_A
impl Unpin for PWRCON_A
impl UnwindSafe for PWRCON_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more