Enum ecu_diagnostics::uds::ResetType
source · #[repr(u8)]pub enum ResetType {
HardReset = 1,
KeyOffReset = 2,
SoftReset = 3,
EnableRapidPowerShutDown = 4,
DisableRapidPowerShutDown = 5,
}
Expand description
Reset ECU subcommand
Variants§
HardReset = 1
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 = 2
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 = 3
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 = 4
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 = 5
Disables a rapid power shutdown on the ECU during a key-off cycle.
Trait Implementations§
source§impl Ord for ResetType
impl Ord for ResetType
source§impl PartialEq for ResetType
impl PartialEq for ResetType
source§impl PartialOrd for ResetType
impl PartialOrd 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