Function ecu_diagnostics::uds::get_number_of_mirror_memory_dtcs_by_status_mask[][src]

pub fn get_number_of_mirror_memory_dtcs_by_status_mask(
    server: &mut UdsDiagnosticServer,
    status_mask: u8
) -> DiagServerResult<(u8, DTCFormatType, u16)>
Expand description

Returns the number of DTCs in DTC mirror memory who’s status_mask matches the provided mask

Returns

Returns a tuple of the given information:

  1. (u8) - DTCStatusAvailabilityMask
  2. (DTCFormatType) - Format of the DTCs
  3. (u16) - Number of DTCs which match the status mask