Diagnostics_Manager_GeneratedCfg_MDD

Module -- Core

High-Level Description

Figures

Component Diagram

Variable Data Dictionary

Module InputsModule Outputs

Module Internal Variables

Variable NameDatatypeResolution

Legal Range

(min)

Legal Range

(max)

Software Segment

{Data Type}

ResetNTCFlag_Cnt_M_u08Uint81

0

FF

DIAGMGR#_START_SEC_VAR_CLEARED_8
NTCQueueIndex#_Cnt_M_u08Uint81

Range depends on size of NTCInfoQueue#_Cnt_M_Str[SIZE]

Refer *

DIAGMGR#_START_SEC_VAR_CLEARED_UNSPECIFIED
DiagMgrInitComp#_Cnt_M_lgcBooleanNAFalseTrueDIAGMGR#_START_SEC_VAR_CLEARED_Unspecified
DiagMgr_NTCInfo#_Cnt_M_str[SIZE]NTCInfo_StrNASee section 3.1.1See section 3.1.1DIAGMGR#_START_SEC_VAR_CLEARED_Unspecified
NTCInfoQueue#_Cnt_M_str[SIZE]NTCInfoQueue_StrNASee section 3.1.1See section 3.1.1DIAGMGR#_START_SEC_VAR_CLEARED_Unspecified
ActDiagSts#_Cnt_M_u08Uint8101DIAGMGR#_START_SEC_VAR_CLEARED_8
ResetNTCFlag#_Cnt_M_u08Uint81

0

FF

DIAGMGR#_START_SEC_VAR_CLEARED_8
DiagSts#_Cnt_M_b16[SIZE]Uint1610FULLDIAGMGR#_START_SEC_VAR_CLEARED_Unspecified
ActiveRmpRate#_UlspmS_M_f32[SIZE]Float32Single Precision float0.00010.5DIAGMGR#_START_SEC_VAR_CLEARED_32

Note: *Refer: Size varies across projects. Check Configuration files under UTP/Contract folder

User defined typedef definition/declaration

Typedef NameElement NameUser Defined Type

Legal Range

(min)

Legal Range

(max)

typedef struct { } NTCInfo_StrParamuint80FULL
Statusuint80FULL
AgingCounteruint8064
typedef struct { } NTCInfoQueue_StrNTCNTCNumber0511
ParamUint80FULL
StatusNxtrDiagMgrStatus0255

Constant Data Dictionary

Calibration Constants

Constant Name
k_FltRspTbl_Cnt_str[]
k_FltRmpRate_UlspmS_f32[]

Program(fixed) Constants

Embedded Constants

Local

Global

Constant Name
** DIAGMGR_NUMAPPS
** DIAGMGR_EVENTNUM_#
** DIAGMGR_APID_#

Note **: Global const values varies across projects. Check configuration files under UTP/Contract folder. “#” denotes application number.

Module specific Lookup Tables Constants

Constant NameResolutionValueSoftware Segment
T_NTCMapTbl#_Cnt_enum[SIZE]N/A{ ** }AP_DIAGMGR_CONST
T_DiagMgrNtcInfoPtr_Cnt_Str[SIZE]N/A

** {&DiagMgr_NTCInfo#_Cnt_M_str[0], #,

}

AP_DIAGMGR_CONST
T_DiagMgrNtcAppInfoMap_Cnt_Str[SIZE]N/A

** {{ &DiagMgr_NTCInfo#_Cnt_M_str[0], #},

}

AP_DIAGMGR_CONST

**NOTE : Elements and Size of table are different across different projects and applications. Check Configuration files under UTP/Contract folder


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 Initialization

Function NameDiagMgr#_InitTypeMinMax
Arguments PassedNone
Multiplicity
Return ValueNone

Description

Diagnostic Manager Periodic Code

Function NameDiagMgr#_PerTypeMinMax
Arguments PassedNone
Multiplicity
Return Valuenone

Description

Diagnostic Manager Transition Core

Function NameDiagMgr#_TrnsTypeMinMax
Arguments PassedNone
Multiplicity
Return Valuenone

Description

Diagnostic Manager Get NTC Failed

Function NameNxtrDiagMgr#_GetNTCFailedTypeMinMax
Arguments PassedNTC_Cnt_T_enumNTCNumber0511
NTCFailed_Ptr_T_lgcconst boolean pointerFalseTrue
Multiplicity
Return ValueRetValStd_ReturnTypeE_OK

Description

Diagnostic Manager Get NTC Active

Function NameNxtrDiagMgr#_GetNTCActive_CoreTypeMinMax
Arguments PassedNTC_Cnt_T_enumNTCNumber0511
NTCActive_Ptr_T_lgcconst boolean pointerFALSETRUE
Multiplicity
Return ValueRetValStd_ReturnTypeE_OK

Description

Diagnostic Manager Get NTC Status

Function NameNxtrDiagMgr#_GetNTCStatusTypeMinMax
Arguments PassedNTC_Cnt_T_enumNTCNumber0511
Status_Ptr_T_u08const boolean pointerFALSETRUE
Multiplicity
Return ValueRetValStd_ReturnTypeE_OK

Description

Diagnostic Manager Set NTC Status

Function NameNxtrDiagMgr#_SetNTCStatusTypeMinMax
Arguments PassedNTC_Cnt_T_enumNTCNumber0511
Param_Cnt_T_u08Uint80FULL
Status_Cnt_T_enumNxtrDiagMgrStatus

NTC_STATUS_PASSED

NTC_STATUS_FAILED

NTC_STATUS_PREPASSED

NTC_STATUS_PREFAILED

Multiplicity
Return ValueRetValStd_ReturnType

E_OK

E_NOT_OK

Description

Diagnostic Manager Report NTC Status

Function NameNxtrDiagMgr#_ReportNTCStatusTypeMinMax
Arguments PassedNTC_Cnt_T_enumNTCNumber0511
Param_Cnt_T_u08Uint80FULL
Status_Cnt_T_enumNxtrDiagMgrStatus

NTC_STATUS_PASSED

NTC_STATUS_FAILED

NTC_STATUS_PREPASSED

NTC_STATUS_PREFAILED

Multiplicity
Return ValueRetValStd_ReturnTypeE_OK

Description

Local Functions/Macros Used by this MDD only

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
DiagMgr#_InitRTE_AP_DIAGMGR_APPL_CODE
DiagMgr#_PerRTE_AP_DIAGMGR_APPL_CODE
DiagMgr#_TrnsRTE_AP_DIAGMGR_APPL_CODE
NxtrDiagMgr#_GetNTCFailedRTE_AP_DIAGMGR_APPL_CODE
NxtrDiagMgr#_GetNTCActiveRTE_AP_DIAGMGR_APPL_CODE
NxtrDiagMgr#_GetNTCStatusRTE_AP_DIAGMGR_APPL_CODE
NxtrDiagMgr#_SetNTCStatusRTE_AP_DIAGMGR_APPL_CODE
NxtrDiagMgr#_ReportNTCStatusRTE_AP_DIAGMGR_APPL_CODE

Global and Local Functions

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

Name of Sub ModuleSoftware Segment


Known Issues / Limitations With Design

  1. (Item #1)

Revision Control Log

Rev #Change DescriptionDateAuthor Initials
1Initial MDD version25-June-13NRAR
Last modified October 12, 2025: Initial commit (0347a62)