Shutdown_Mechanisms_MDD

Module –

High-Level Description

This module handles diagnostic data during an F1 fault. The actual signal control is performed in other modules which “own” the signal.

Figures

Component Diagram


Variable Data Dictionary

For details on module input / output variable, refer to the Data Dictionary for the application. Input / output variable names are listed here for reference.

Module InputsModule Outputs
NoneNone

Module Internal Variables

This section identifies the name, range and resolutions for module specific data created by this module. If there are no range restrictions on the variable, the term “FULL” is placed into the table for legal range.

Variable NameResolution

Legal Range

(min)

Legal Range

(max)

Software Segment
ESMErrOutStat_Cnt_D_u08101SHTDNMECH_START_SEC_VAR_CLEARED_8
SysFault2Stat_Cnt_D_u08808SHTDNMECH_START_SEC_VAR_CLEARED_8
GateDrvResetStat_Cnt_D_u325242880524288SHTDNMECH_START_SEC_VAR_CLEARED_32
NHETPwmStat_Cnt_D_u3222282308022282308SHTDNMECH_START_SEC_VAR_CLEARED_32

User defined typedef definition/declaration

This section documents any user types uniquely used for the module.

Typedef NameElement NameUser Defined Type

Legal Range

(min)

Legal Range

(max)

None

Constant Data Dictionary

Calibration Constants

This section lists the calibrations used by the module. For details on calibration constants, refer to the Data Dictionary for the application.

Constant Name
None

Program(fixed) Constants

Embedded Constants

All embedded constants whose values are provided in Eng units will be evaluated to the equivalent counts by using the FPM_InitFixedPoint_m() macro within the #define statement.

Local

Constant NameResolutionUnitsValue
D_ESMERROUTSTAT_CNT_U081Counts0x01
D_SYSFAULT2STAT_CNT_U081Counts0x08
D_GATEDRVRESETSTAT_CNT_U321Counts0x00080000
D_NHETPWMSTAT_CNT_U321Counts0x01540044

Global

This section lists the global constants used by the module. For details on global constants, refer to the Data Dictionary for the application.

Constant Name
D_ZERO_CNT_U8
D_ZERO_CNT_U32

Module specific Lookup Tables Constants

Constant NameResolutionValueSoftware Segment
None


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. None

Data Hiding Functions

  1. None

Global Functions/Macros Defined by this Module

None

Local Functions/Macros Used by this MDD only

None

Software Module Implementation

Runtime Environment (RTE) Initial Values

This section lists the initial values of data written by this module but controlled by the RTE. After RTE initialization, the data in this table will contain these values.

DataValue
None

Initialization Functions

None


Periodic Functions

Per: _Per1

Design Rationale

None

Program Flow Start

Rte_Call_ShtdnMech_Per1_CP0_CheckpointReached()

Store Module Inputs to Local copies

Rte_Call_FetDrvReset_OP_GET(&FetDrvReset_Cnt_T_lgc)

Rte_Call_SysFault2_OP_GET(&SysFault2_Cnt_T_lgc)

Rte_Call_SysFault3_OP_GET(&SysFault3_Cnt_T_lgc)

Status Signals for Testing

Store Local copy of outputs into Module Outputs

None

Program Flow End

Rte_Call_ShtdnMech_Per1_CP1_CheckpointReached()


Fault Recovery Functions

None

Shutdown Functions

None

Interrupt Functions

None

Serial Communication Functions

None

Transition Functions

None


Execution Requirements

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
ShtdnMech_Per110 msALL

Execution Requirements for Serial Communication Functions

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


Memory Map Definition Requirements

Sub Modules (Functions)

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

Name of Sub ModuleSoftware Segment
ShtdnMech_Per1RTE_START_SEC_SA_SHTDNMECH_APPL_CODE

Local Functions

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

Name of Sub ModuleSoftware Segment
None


Known Issues / Limitations With Design

  1. None


Revision Control Log

Item #Rev #Change DescriptionDateAuthor Initials
11.0Initial Version25-Jul-12OT
22.0Updates to remove NHETPINDIS, removed control of SysFault3 pin (this is handled in hardware). Only control NHET Direction on entering operate state (instead of exiting disable state) as other pins are controlled by other modules and NHET pins should remain inputs in warm init.03-Aug-12LWW
33.0Update for anomaly 3640 correction22-Aug-12LWW
44.0Added checkpoints and memmap software segment is updated for static variables27-Sep-12Selva
55.0Implemented FDD 18B v003 (removed signal control from module)17-Oct-12OT
Last modified October 12, 2025: Initial commit (0347a62)