HwTqArbn_MDD

Module Design Document

For

Handwheel Torque Arbitration

VERSION: 1.0

DATE: 11-MAY-2015

Prepared By:

Software Group,

Nexteer Automotive,

Saginaw, MI, USA

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

Revision History

Sl. No.DescriptionAuthorVersionDate
1Initial VersionRijvi Ahmed1.011-May-2015

Table of Contents

1 Abbrevations And Acronyms 5

2 References 6

3 MDD HWTQARBN & High-Level Description 7

4 Design details of software module 8

4.1 Graphical representation of HWTQARBN 8

4.2 Data Flow Diagram 8

4.2.1 Module level DFD 8

4.2.2 Sub-Module level DFD 8

4.3 COMPONENT FLOW DIAGRAM 8

5 Variable Data Dictionary 9

5.1 User defined typedef definition/declaration 9

5.2 Variable definition for enumerated types 9

6 Constant Data Dictionary 10

6.1 Program(fixed) Constants 10

6.1.1 Embedded Constants 10

6.1.1.1 Local 10

6.1.1.2 Global 10

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.3 PERIODIC FUNCTIONS 11

7.3.1 Per: HwTqArbnPer1 11

7.3.1.1 Design Rationale 11

7.3.1.2 Store Module Inputs to Local copies 11

7.3.1.3 (Processing of function)……… 11

7.3.1.4 Store Local copy of outputs into Module Outputs 11

7.4 Interrupt Functions 11

7.5 Serial Communication Functions 12

7.6 Local Function/Macro Definitions 12

7.6.1 Local Function #1 12

7.6.1.1 Description 12

7.7 GLObAL Function/Macro Definitions 12

7.7.1 GLObAL Function #1 12

7.7.1.1 Description 12

7.8 TRANSIENT FUNCTIONS 12

8 Known Limitations With Design 13

9 UNIT TEST CONSIDERATION 14

1 Appendix 15

Abbrevations And Acronyms

AbbreviationDescription
DFDDesign functional diagram
MDDModule design Document
<ADD more to the table if applicable>

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.06.00
2Software Naming ConventionsProcess 03.06.00
3Software Coding StandardsProcess 03.06.00
4FDD – ES228A/HwTqArbnSee synergy sub project version

MDD HWTQARBN & High-Level Description

None

Design details of software module

Graphical representation of HWTQARBN

Data Flow Diagram

Module level DFD

N/A

Sub-Module level DFD

N/A

COMPONENT FLOW DIAGRAM

N/A

Variable Data Dictionary

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)

N/A

Variable definition for enumerated types

Enum NameElement NameValue

Constant Data Dictionary

Program(fixed) Constants

Embedded Constants

< All program specific constants will be defined in detail >

Local

Constant NameResolutionUnitsValue
CORRLNSTSMASKSIGA_CNT_U081Cnt0x01u
CORRLNSTSMASKSIGB_CNT_U081Cnt0x02u
CORRLNSTSMASKSIGC_CNT_U081Cnt0x04u
CORRLNSTSMASKSIGD_CNT_U081Cnt0x08u
MAXSTALLCNTR_CNT_U081Cnt255u

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

Module specific Lookup Tables Constants

<(This is for lookup tables (arrays) with fixed values, same name as other tables)>

Constant NameResolutionValueSoftware Segment
N/A

Software Module Implementation

Sub-Module Functions

None

Initialization Functions

<(Note: For multiple init functions, insert new headers at the “Header 2” level – subset of “ Initialization Function section above” and follow the same sub-section design shown below . If none required, place the text “None”))>

None

PERIODIC FUNCTIONS

(Note: For multiple periodic functions, insert new headers at the “Header 2” level – subset of “7.3 Periodic Functions” and follow the same sub-section design shown below). If none required, place the text “None”)>

Per: HwTqArbnPer1

Design Rationale

None

Store Module Inputs to Local copies

Refer to FDD

(Processing of function)………

Refer to FDD

Store Local copy of outputs into Module Outputs

Refer to FDD

Interrupt Functions

None

Serial Communication Functions

None

Local Function/Macro Definitions

<If these are numerous and defined in a separate source file then reference the source file only.>

Local Function #1

Function NameSigAvlChkRevTypeMinMax
Arguments PassedSigRollgCntr_Cnt_T_u08Uint80255
SigQlfr_Cnt_T_enumSigQlfr102
kMaxStallCnt_Cnt_T_u08Uint80255
*LstRollgCntr_Cnt_T_u08Uint80255
*StallCntr_Cnt_T_u08Uint80255
Return ValueSigAvl_Cnt_T_lgcboolean01

Description

Refer to FDD

GLObAL Function/Macro Definitions

<If these are numerous and defined in a separate source file then reference the source file only.>

GLObAL Function #1

Function NameNoneTypeMinMax
Arguments PassedNone<Refer MDD guidelines[1]><Refer MDD guidelines[1]><Refer MDD guidelines[1]>
Return ValueNone

Description

N/A

TRANSIENT FUNCTIONS

None

Known Limitations With Design

None

UNIT TEST CONSIDERATION

None

Appendix

None

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