#[repr(transparent)]pub struct VbatAlphaFieldsetFoxtrotAlpha(pub u32);Expand description
Switch Control A.
Tuple Fields§
§0: u32Implementations§
Source§impl VbatAlphaFieldsetFoxtrotAlpha
impl VbatAlphaFieldsetFoxtrotAlpha
Sourcepub const fn swi_en(&self) -> bool
pub const fn swi_en(&self) -> bool
Switch Enable. Raw bit values: false (0) = Disable: VDD_BAT.; true (1) = Enable: VDD_SYS.
Sourcepub const fn set_swi_en(&mut self, val: bool)
pub const fn set_swi_en(&mut self, val: bool)
Switch Enable. Raw bit values: false (0) = Disable: VDD_BAT.; true (1) = Enable: VDD_SYS.
Trait Implementations§
Source§impl Clone for VbatAlphaFieldsetFoxtrotAlpha
impl Clone for VbatAlphaFieldsetFoxtrotAlpha
Source§fn clone(&self) -> VbatAlphaFieldsetFoxtrotAlpha
fn clone(&self) -> VbatAlphaFieldsetFoxtrotAlpha
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 Default for VbatAlphaFieldsetFoxtrotAlpha
impl Default for VbatAlphaFieldsetFoxtrotAlpha
Source§fn default() -> VbatAlphaFieldsetFoxtrotAlpha
fn default() -> VbatAlphaFieldsetFoxtrotAlpha
Returns the “default value” for a type. Read more
Source§impl PartialEq for VbatAlphaFieldsetFoxtrotAlpha
impl PartialEq for VbatAlphaFieldsetFoxtrotAlpha
Source§fn eq(&self, other: &VbatAlphaFieldsetFoxtrotAlpha) -> bool
fn eq(&self, other: &VbatAlphaFieldsetFoxtrotAlpha) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for VbatAlphaFieldsetFoxtrotAlpha
impl Eq for VbatAlphaFieldsetFoxtrotAlpha
impl StructuralPartialEq for VbatAlphaFieldsetFoxtrotAlpha
Auto Trait Implementations§
impl Freeze for VbatAlphaFieldsetFoxtrotAlpha
impl RefUnwindSafe for VbatAlphaFieldsetFoxtrotAlpha
impl Send for VbatAlphaFieldsetFoxtrotAlpha
impl Sync for VbatAlphaFieldsetFoxtrotAlpha
impl Unpin for VbatAlphaFieldsetFoxtrotAlpha
impl UnwindSafe for VbatAlphaFieldsetFoxtrotAlpha
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