Diagnostics_Manager_FailAction_MDD

Module -- Fail Action

High-Level Description

Figures

Component Diagram

Variable Data Dictionary

Module InputsModule Outputs
DiagStsNonRecRmpToZeroFltPres_Cnt_lgc
DiagStsCtrldDisRmpPres_Cnt_lgc
DiagStsRecRmpToZeroFltPres_Cnt_lgc
DiagStsHWASbSystmFltPres_Cnt_lgc
DiagStsDefVehSpd_Cnt_lgc
DiagStsDefTemp_Cnt_lgc
DiagStsScomHWANotValid_Cnt_lgc
DiagStsWIRDisable_Cnt_lgc
DiagRampRate_XpmS_f32
DiagRampValue_Uls_f32
DiagRmpToZeroActive_Cnt_lgc

Module Internal Variables

Variable NameDatatypeResolution

Legal Range

(min)

Legal Range

(max)

Software Segment

{Data Type}

DiagSts#_Cnt_M_b16[2]Refer to Diagnostics_Manager_GeneratedCfg_MDD.docx
ActiveRmpRate#_UlspmS_M_f32[2]Refer to Diagnostics_Manager_GeneratedCfg_MDD.docx

User defined typedef definition/declaration

Typedef NameElement NameUser Defined Type

Legal Range

(min)

Legal Range

(max)

Constant Data Dictionary

Calibration Constants

Constant Name

Program(fixed) Constants

Embedded Constants

Local

Constant NameResolutionUnitsValue

Global

Constant Name
DIAGMGR_NUMAPPS
D_DIAGSTSNONRECRMPTOZEROBIT_CNT_B16
D_DIAGSTSRECRMPTOZEROBIT_CNT_B16
D_DIAGSTSCTRLDDISRMPBIT_CNT_B16
D_DIAGSTSHWASBSYSTMFLTBIT_CNT_B16
D_DIAGSTSDEFVEHSPDBIT_CNT_B16
D_DIAGSTSDEFTEMPBIT_CNT_B16
D_DIAGSTSSCOMHWANOTVALIDBIT_CNT_B16
D_DIAGSTSWIRDISABLEBIT_CNT_B16

Module specific Lookup Tables Constants

Constant NameResolutionValueSoftware Segment
T_DiagMgrDiagSts_Ptr_b16[SIZE]N/ARefer *AP_DIAGMGR_CONST
T_DiagMgrRmpRate_Ptr_f32[SIZE]N/ARefer *AP_DIAGMGR_CONST

Note: “ Refer *” - Refer to Diagnostics_Manager_GeneratedCfg_MDD

Note Size and elements of Table constants varies across projects. Check project configuration files Under UTP/ Contract folder for data.


Functions/Macros used by the Sub-Modules

Library Functions / Macros

The library and functions / Macros that are called by the various sub modules are identified below,

  1. TableSize_m()

Data Hiding Functions

  1. <None>

Global Functions/Macros Defined by this Module

Diagnostic Manager Periodic 1

Function NameDiagMgr_Per1TypeMinMax
Arguments Passednone
Return Valuenone

Description

Local Functions/Macros Used by this MDD only

Read Bits

Function NameReadBit_u16TypeMinMax
Arguments PassedDataUint160FULL
BitMaskUint160FULL
Return ValueBooleanFALSETRUE

Description

IF (Data & BitMask) = 0

Return (FALSE)

ELSE
Return(TRUE)

END IF

Software Module Implementation

Runtime Environment (RTE) Initial Values

DataValue

Initialization Functions

None

Periodic Functions

None

Fault Recovery Functions

None

Shutdown Functions

None

Interrupt Functions

None

Fault Recovery Functions

None

Shutdown Functions

None

Interrupt Functions

None

Serial Communication Functions

None

Execution Requirements

Execution Sequence of the Module

Execution Rates for sub-modules called by the Scheduler

This table serves as reference for the Scheduler design

Function NameCalling FrequencySystem State(s) in which the function is called

Execution Requirements for Serial Communication Functions

Function NameSub-Module called by (Serial Comm Function Name)


Memory Map Definition Requirements

Sub Modules (Functions)

This table identifies the software segments for functions identified in this module.

Name of Sub ModuleSoftware Segment

Global and Local Functions

This table identifies the software segments for local functions identified in this module.

Name of Sub ModuleSoftware Segment
DiagMgr_Per1AP_DIAGMGR_CODE
ReadBit_u16AP_DIAGMGR_CODE


Known Issues / Limitations With Design

  1. (Item #1)

Revision Control Log

Rev #Change DescriptionDateAuthor Initials
1Initial MDD version14-Feb-13VK
2Changes made to make it more generic for all projects24-June-13NRAR
Last modified October 12, 2025: Initial commit (0347a62)