pub struct ApsLowPowerLevel1Setting { /* private fields */ }Expand description
Sets the APS (Average Power Source voltage) low power warning Level 1 threshold. An IRQ may be triggered if APS voltage drops below this level. Formula: V_WARNING1 (V) = 2.8672 + (raw_value * 0.0014 * 4). The raw_value is the 8-bit content of this register.
Implementations§
Source§impl ApsLowPowerLevel1Setting
impl ApsLowPowerLevel1Setting
Sourcepub fn level_setting_raw(&self) -> u8
pub fn level_setting_raw(&self) -> u8
Read the level_setting_raw field of the register.
Raw 8-bit setting for APS low power Level 1 threshold. See register description for formula.
Sourcepub fn set_level_setting_raw(&mut self, value: u8)
pub fn set_level_setting_raw(&mut self, value: u8)
Write the level_setting_raw field of the register.
Raw 8-bit setting for APS low power Level 1 threshold. See register description for formula.
Trait Implementations§
Source§impl BitAnd for ApsLowPowerLevel1Setting
impl BitAnd for ApsLowPowerLevel1Setting
Source§impl BitAndAssign for ApsLowPowerLevel1Setting
impl BitAndAssign for ApsLowPowerLevel1Setting
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOr for ApsLowPowerLevel1Setting
impl BitOr for ApsLowPowerLevel1Setting
Source§impl BitOrAssign for ApsLowPowerLevel1Setting
impl BitOrAssign for ApsLowPowerLevel1Setting
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl BitXor for ApsLowPowerLevel1Setting
impl BitXor for ApsLowPowerLevel1Setting
Source§impl BitXorAssign for ApsLowPowerLevel1Setting
impl BitXorAssign for ApsLowPowerLevel1Setting
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^= operation. Read moreSource§impl Clone for ApsLowPowerLevel1Setting
impl Clone for ApsLowPowerLevel1Setting
Source§fn clone(&self) -> ApsLowPowerLevel1Setting
fn clone(&self) -> ApsLowPowerLevel1Setting
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 ApsLowPowerLevel1Setting
impl Debug for ApsLowPowerLevel1Setting
Source§impl From<ApsLowPowerLevel1Setting> for [u8; 1]
impl From<ApsLowPowerLevel1Setting> for [u8; 1]
Source§fn from(val: ApsLowPowerLevel1Setting) -> Self
fn from(val: ApsLowPowerLevel1Setting) -> Self
Converts to this type from the input type.
Source§impl From<ApsLowPowerLevel1Setting> for FieldSetValue
impl From<ApsLowPowerLevel1Setting> for FieldSetValue
Source§fn from(val: ApsLowPowerLevel1Setting) -> Self
fn from(val: ApsLowPowerLevel1Setting) -> Self
Converts to this type from the input type.
Source§impl Not for ApsLowPowerLevel1Setting
impl Not for ApsLowPowerLevel1Setting
Source§impl PartialEq for ApsLowPowerLevel1Setting
impl PartialEq for ApsLowPowerLevel1Setting
impl Copy for ApsLowPowerLevel1Setting
impl Eq for ApsLowPowerLevel1Setting
impl StructuralPartialEq for ApsLowPowerLevel1Setting
Auto Trait Implementations§
impl Freeze for ApsLowPowerLevel1Setting
impl RefUnwindSafe for ApsLowPowerLevel1Setting
impl Send for ApsLowPowerLevel1Setting
impl Sync for ApsLowPowerLevel1Setting
impl Unpin for ApsLowPowerLevel1Setting
impl UnwindSafe for ApsLowPowerLevel1Setting
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