pub enum TemperatureRegulation {
BelowThreshold,
AboveThreshold,
}
Expand description
Temperature regulation status
Variants§
BelowThreshold
The junction temperature is less than the threshold set by REGTEMP and the full charge current limit is available.
AboveThreshold
The junction temperature is greater than the threshold set by REGTEMP and the charge current limit may be folding back to reduce power dissipation.
Trait Implementations§
Source§impl CheckDiscriminantInRange<[(); 1]> for TemperatureRegulation
impl CheckDiscriminantInRange<[(); 1]> for TemperatureRegulation
Source§impl CheckDiscriminantInRange<[(); 0]> for TemperatureRegulation
impl CheckDiscriminantInRange<[(); 0]> for TemperatureRegulation
Source§impl Clone for TemperatureRegulation
impl Clone for TemperatureRegulation
Source§fn clone(&self) -> TemperatureRegulation
fn clone(&self) -> TemperatureRegulation
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 TemperatureRegulation
impl Debug for TemperatureRegulation
Source§impl Hash for TemperatureRegulation
impl Hash for TemperatureRegulation
Source§impl Ord for TemperatureRegulation
impl Ord for TemperatureRegulation
Source§fn cmp(&self, other: &TemperatureRegulation) -> Ordering
fn cmp(&self, other: &TemperatureRegulation) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TemperatureRegulation
impl PartialEq for TemperatureRegulation
Source§impl PartialOrd for TemperatureRegulation
impl PartialOrd for TemperatureRegulation
Source§impl Specifier for TemperatureRegulation
impl Specifier for TemperatureRegulation
Source§type InOut = TemperatureRegulation
type InOut = TemperatureRegulation
The interface type of the specifier. Read more
Source§fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>
fn into_bytes(input: Self::InOut) -> Result<Self::Bytes, OutOfBounds>
Converts some bytes into the in-out type. Read more
Source§fn from_bytes(
bytes: Self::Bytes,
) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
fn from_bytes( bytes: Self::Bytes, ) -> Result<Self::InOut, InvalidBitPattern<Self::Bytes>>
Converts the given bytes into the in-out type. Read more
impl Copy for TemperatureRegulation
impl Eq for TemperatureRegulation
impl StructuralPartialEq for TemperatureRegulation
Auto Trait Implementations§
impl Freeze for TemperatureRegulation
impl RefUnwindSafe for TemperatureRegulation
impl Send for TemperatureRegulation
impl Sync for TemperatureRegulation
impl Unpin for TemperatureRegulation
impl UnwindSafe for TemperatureRegulation
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