pub enum Health {
Good,
InputOverVoltage,
InputUnderVoltage,
ThermalWarning,
ThermalShutdown,
SafetyTimerExpired,
BatteryOverVoltage,
WatchdogTimerExpired,
UnspecifiedFailure,
// some variants omitted
}Expand description
Hardware health and fault conditions of the charging converter.
Variants§
Good
Normal operation; no faults or converter thermal throttling detected.
InputOverVoltage
Input voltage on the charger supply rail exceeds the over-voltage lockout (OVLO) limit.
InputUnderVoltage
Input voltage on the charger supply rail fell below the under-voltage lockout (UVLO) operational floor.
ThermalWarning
Internal charger die temperature reached the thermal regulation (TREG) threshold; the converter is still operating but actively folding back current to limit die heating.
ThermalShutdown
Internal charger die or input connector temperature exceeded thermal shutdown (TSHDN) protection limits and the converter has suspended operation.
SafetyTimerExpired
Hardware charge safety timer expired before reaching the target charge state.
BatteryOverVoltage
Voltage sensed at the charger output rail exceeded the converter’s over-voltage threshold.
WatchdogTimerExpired
Hardware watchdog timer expired (WDT), suspending converter operation.
UnspecifiedFailure
Unspecified charger hardware fault.
Implementations§
Trait Implementations§
impl Copy for Health
Source§impl<D> Decode<Health, D> for Healthwhere
D: ResourceDialect,
impl<D> Decode<Health, D> for Healthwhere
D: ResourceDialect,
impl Eq for Health
Source§impl Ord for Health
impl Ord for Health
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialOrd for Health
impl PartialOrd for Health
impl StructuralPartialEq for Health
Source§impl TypeMarker for Health
impl TypeMarker for Health
Source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
Source§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
inline_align.Source§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Self::Owned matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned to a single memcpy. Read moreSource§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Self::Owned matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned to a single memcpy.Source§impl ValueTypeMarker for Health
impl ValueTypeMarker for Health
Source§type Borrowed<'a> = Health
type Borrowed<'a> = Health
Encode<Self>
type cheaply obtainable from &Self::Owned. There are three cases: Read moreSource§fn borrow(
value: &<Health as TypeMarker>::Owned,
) -> <Health as ValueTypeMarker>::Borrowed<'_>
fn borrow( value: &<Health as TypeMarker>::Owned, ) -> <Health as ValueTypeMarker>::Borrowed<'_>
&Self::Owned to Self::Borrowed.