pub enum ResetType {
HardReset,
KeyOffReset,
SoftReset,
EnableRapidPowerShutDown,
DisableRapidPowerShutDown,
Other(u8),
}Expand description
Options for resetting the ECU
Variants§
HardReset
Signals the ECU to perform a hard-reset, simulating a forceful power off/on cycle
This might result in both non-volatile memory and volatile memory locations being re-initialized
KeyOffReset
Signals the ECU to perform a simulated key off/on cycle, simulating the usual key-off/on cycle
This typically results in the preservation of non-volatile memory, but volatile memory will be re-initialized
SoftReset
Signals the ECU to perform a soft reset, simply rebooting the current application running on it.
This will result in the preservation of both non-volatile and volatile memory
EnableRapidPowerShutDown
Enables a rapid power shutdown on the ECU during a key-off cycle.
IMPORTANT: Once this has been used, the diagnostic server cannot send any other messages other than ECUReset in order to not disturb the rapid power shutdown function.
DisableRapidPowerShutDown
Disables a rapid power shutdown on the ECU during a key-off cycle.
Other(u8)
Other OEM defined power mode
Trait Implementations§
source§impl Ord for ResetType
impl Ord for ResetType
source§impl PartialEq<ResetType> for ResetType
impl PartialEq<ResetType> for ResetType
source§impl PartialOrd<ResetType> for ResetType
impl PartialOrd<ResetType> for ResetType
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self and other) and is used by the <=
operator. Read more