Enum ecu_diagnostics::uds::DtcSubFunction
source · #[repr(u8)]pub enum DtcSubFunction {
Show 21 variants
ReportNumberOfDtcByStatusMask = 1,
ReportDtcByStatusMask = 2,
ReportMirrorMemoryDtcByStatusMask = 15,
ReportNumberOfMirrorMemoryDtcByStatusMask = 17,
ReportNumberOfEmissionsRelatedObdDtcByStatusMask = 18,
ReportEmissionsRelatedObdDtcByStatusMask = 19,
ReportDtcSnapshotIdentifier = 3,
ReportDtcSnapshotRecordByDtcNumber = 4,
ReportDtcSnapshotRecordByRecordNumber = 5,
ReportDtcExtendedDataRecordByDtcNumber = 6,
ReportMirrorMemoryDtcExtendedDataRecordByDtcNumber = 16,
ReportNumberOfDtcBySeverityMaskRecord = 7,
ReportDtcBySeverityMaskRecord = 8,
ReportSeverityInformationOfDtc = 9,
ReportSupportedDtc = 10,
ReportFirstTestFailedDtc = 11,
ReportFirstConfirmedDtc = 12,
ReportMostRecentTestFailedDtc = 13,
ReportMostRecentConfirmedDtc = 14,
ReportDtcFaultDetectionCounter = 20,
ReportDtcWithPermanentStatus = 21,
}
Expand description
[UdsCommand::ReadDTCInformation
] sub-function definitions
Variants§
ReportNumberOfDtcByStatusMask = 1
This function takes a 1 byte DTCStatusMask
ReportDtcByStatusMask = 2
This function takes a 1 byte DTCStatusMask
ReportMirrorMemoryDtcByStatusMask = 15
This function takes a 1 byte DTCStatusMask
ReportNumberOfMirrorMemoryDtcByStatusMask = 17
This function takes a 1 byte DTCStatusMask
ReportNumberOfEmissionsRelatedObdDtcByStatusMask = 18
This function takes a 1 byte DTCStatusMask
ReportEmissionsRelatedObdDtcByStatusMask = 19
This function takes a 1 byte DTCStatusMask
ReportDtcSnapshotIdentifier = 3
This function takes a 3 byte DTCMaskRecord and a 1 byte DTCSnapshotRecordNumber
ReportDtcSnapshotRecordByDtcNumber = 4
This function takes a 3 byte DTCMaskRecord and a 1 byte DTCSnapshotRecordNumber
ReportDtcSnapshotRecordByRecordNumber = 5
This function takes a 1 byte DTCSnapshotRecordNumber
ReportDtcExtendedDataRecordByDtcNumber = 6
This function take a 3 byte DTCMaskRecord and a 1 byte DTCExtendedDataRecordNumber
ReportMirrorMemoryDtcExtendedDataRecordByDtcNumber = 16
This function take a 3 byte DTCMaskRecord and a 1 byte DTCExtendedDataRecordNumber
ReportNumberOfDtcBySeverityMaskRecord = 7
This function takes a 1 byte DTCSeverityMask and a 1 byte DTCStatusMask
ReportDtcBySeverityMaskRecord = 8
This function takes a 1 byte DTCSeverityMask and a 1 byte DTCStatusMask
ReportSeverityInformationOfDtc = 9
This function takes a 3 byte DTCMaskRecord
ReportSupportedDtc = 10
This function take no additional arguments
ReportFirstTestFailedDtc = 11
This function take no additional arguments
ReportFirstConfirmedDtc = 12
This function take no additional arguments
ReportMostRecentTestFailedDtc = 13
This function take no additional arguments
ReportMostRecentConfirmedDtc = 14
This function take no additional arguments
ReportDtcFaultDetectionCounter = 20
This function take no additional arguments
ReportDtcWithPermanentStatus = 21
This function take no additional arguments
Trait Implementations§
source§impl Clone for DtcSubFunction
impl Clone for DtcSubFunction
source§fn clone(&self) -> DtcSubFunction
fn clone(&self) -> DtcSubFunction
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DtcSubFunction
impl Debug for DtcSubFunction
source§impl Display for DtcSubFunction
impl Display for DtcSubFunction
source§impl From<DtcSubFunction> for ByteWrapper<DtcSubFunction>
impl From<DtcSubFunction> for ByteWrapper<DtcSubFunction>
source§fn from(value: DtcSubFunction) -> ByteWrapper<DtcSubFunction>
fn from(value: DtcSubFunction) -> ByteWrapper<DtcSubFunction>
source§impl Ord for DtcSubFunction
impl Ord for DtcSubFunction
source§fn cmp(&self, other: &DtcSubFunction) -> Ordering
fn cmp(&self, other: &DtcSubFunction) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for DtcSubFunction
impl PartialEq for DtcSubFunction
source§fn eq(&self, other: &DtcSubFunction) -> bool
fn eq(&self, other: &DtcSubFunction) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DtcSubFunction
impl PartialOrd for DtcSubFunction
source§fn partial_cmp(&self, other: &DtcSubFunction) -> Option<Ordering>
fn partial_cmp(&self, other: &DtcSubFunction) -> Option<Ordering>
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