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
Version | Description | Author | Date |
1 | Initial version | Owen Tosh | 25-Mar-2015 |
2 | Updated for FDD ver 1.3.0 | Sankardu Varadapureddi | 05-Apr-2016 |
Table of Contents
3 SysStMod & High-Level Description 6
4 Design details of software module 7
4.1 Graphical representation of SysStMod 7
5.1 User defined typedef definition/declaration 8
5.2 Variable definition for enumerated types 8
6.1 Program(fixed) Constants 9
6.1.2 Module specific Lookup Tables Constants 10
7 Software Module Implementation 11
7.2 Initialization Functions 11
7.3.1.2 Processing of Function 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
Abbrevations And Acronyms
Abbreviation | Description |
DFD | Design functional diagram |
MDD | Module design Document |
References
This section lists the title & version of all the documents that are referred for development of this document
Sr. No. | Title | Version |
1 | MDD Guidelines | Process 03.05.00 |
2 | Software Naming Conventions | Process 03.05.00 |
3 | Software Coding Standards | Process 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 Name | Element Name | User Defined Type | Legal Range (min) | Legal Range (max) |
None |
Variable definition for enumerated types
Enum Name | Element Name | Value |
None |
Constant Data Dictionary
Program(fixed) Constants
Embedded Constants
Local
Constant Name | Resolution | Units | Value |
SYSSTREQENBIT_CNT_U16 | 1 | Count | 0x04 |
PWRSPLYENREQBIT_CNT_U16 | 1 | Count | 0x10 |
SYSSTFLTOUTPREQDIBIT_CNT_U16 | 1 | Count | 0x08 |
SYSSTREQDIBIT_CNT_U16 | 1 | Count | 0x02 |
SYSSTWRMININCMPLBIT_CNT_U16 | 1 | Count | 0x01 |
Global
Constant Name |
None |
Module specific Lookup Tables Constants
Constant Name | Resolution | Value | Software 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