SysStMod_MDD

Module Design Document

For

System States and Modes

VERSION: 2

DATE: 05-Apr-2016

Location: The official version of this document is stored in the Nexteer Configuration Management System.

Revision History

VersionDescriptionAuthorDate
1Initial versionOwen Tosh25-Mar-2015
2Updated for FDD ver 1.3.0Sankardu Varadapureddi05-Apr-2016

Table of Contents

1 Abbrevations And Acronyms 4

2 References 5

3 SysStMod & High-Level Description 6

4 Design details of software module 7

4.1 Graphical representation of SysStMod 7

5 Variable Data Dictionary 8

5.1 User defined typedef definition/declaration 8

5.2 Variable definition for enumerated types 8

6 Constant Data Dictionary 9

6.1 Program(fixed) Constants 9

6.1.1 Embedded Constants 9

6.1.1.1 Local 9

6.1.1.2 Global 9

6.1.2 Module specific Lookup Tables Constants 10

7 Software Module Implementation 11

7.1 Sub-Module Functions 11

7.2 Initialization Functions 11

7.2.1 Init: SysStMd_Init1 11

7.2.1.1 Design Rationale 11

7.2.1.2 Module Internal 11

7.3 PERIODIC FUNCTIONS 11

7.3.1 Per: SysStMd_Per1 11

7.3.1.1 Design Rationale 11

7.3.1.2 Processing of Function 11

7.4 Interrupt Functions 11

7.5 Serial Communication Functions 11

7.6 Local Function/Macro Definitions 11

7.7 GLObAL Function/Macro Definitions 11

8 Known Limitations With Design 12

9 UNIT TEST CONSIDERATION 13

Abbrevations And Acronyms

AbbreviationDescription
DFDDesign functional diagram
MDDModule design Document

References

This section lists the title & version of all the documents that are referred for development of this document

Sr. No.TitleVersion
1MDD GuidelinesProcess 03.05.00
2Software Naming ConventionsProcess 03.05.00
3Software Coding StandardsProcess 03.05.00

SysStMod & High-Level Description

This module manages the overall system state based on ignition, startup test completion, and fault status. It arbitrates between the various demands on the system state and manages the transition decisions with a lookup table, dependent on the current state.

Design details of software module

Graphical representation of SysStMod

Variable Data Dictionary

User defined typedef definition/declaration

Typedef NameElement NameUser Defined Type

Legal Range

(min)

Legal Range

(max)

None

Variable definition for enumerated types

Enum NameElement NameValue
None

Constant Data Dictionary

Program(fixed) Constants

Embedded Constants

Local

Constant NameResolutionUnitsValue
SYSSTREQENBIT_CNT_U161Count0x04
PWRSPLYENREQBIT_CNT_U161Count0x10
SYSSTFLTOUTPREQDIBIT_CNT_U161Count0x08
SYSSTREQDIBIT_CNT_U161Count0x02
SYSSTWRMININCMPLBIT_CNT_U161Count0x01

Global

Constant Name
None


Module specific Lookup Tables Constants

Constant NameResolutionValueSoftware Segment
See design M file for details

Software Module Implementation

Sub-Module Functions

None

Initialization Functions

Init: SysStModInit1

Design Rationale

None

Module Internal

See design model for details.

PERIODIC FUNCTIONS

Per: SysStMdPer1

Design Rationale

The logic around building the transition vector does not match the design model exactly for efficiency and coding standard reasons. They are identical functionally, however.

Processing of Function

See design model for details.

Interrupt Functions

None

Serial Communication Functions

None

Local Function/Macro Definitions

None

GLObAL Function/Macro Definitions

None

Known Limitations With Design

None

UNIT TEST CONSIDERATION

None

Last modified October 12, 2025: Initial commit (1fadfc4)