English
Language : 

UM0324 Datasheet, PDF (94/105 Pages) STMicroelectronics – This user manual describes
MISRA compliance
5
MISRA compliance
UM0324
Based on the The Motor Industry Software Reliability Association’s Guidelines for the Use of
the C Language in Vehicle Based Software, the purpose of this section is to provide a report
of any MISRA deviation in the version 1.0 of the library modules.
5.1
Analysis method
The software library was checked for MISRA compliance using the IAR Embedded
Workbench® toolchain. The IAR Systems’ implementation is based on version 1 of the
MISRA C rules, dated April 1998.
5.2
5.2.1
Limitations
Compliance tests were performed on required MISRA rules only, and not on advisory rules.
Due to the extensive use of the STR750 standard library which itself is not fully MISRA
compliant (as of September 2006), the interaction (through function calls for example)
between the standard library and AC IM library modules necessarily induces non-
compliances.
MISRA compliance for AC IM library files
Table 3 shows the compliance with the MISRA required rules of each AC IM IFOC software
library module (excluding STR750 Standard Library modules).
Table 3. MISRA compliance of AC IM library files
Module name
MISRA
compliant
MC_Clarke_Park.h
Yes
MC_qmath.h
Yes
MC_const.c
Yes
MC_const.h
Yes
MC_type.h
Yes
75x_TBTimer.c
Yes
75x_TBTimer.h
Yes
MC_Globals.c
Yes
MC_Globals.h
Yes
MC_Display.c
Yes
MC_Display.h
Yes
MC_AC_motor_param.h
Yes
75x_MClib.h
Yes
MC_Control_Param.h
Yes
Deviation
94/105