AUTOSAR Generator : SAG Implementation of AUTOSAR Features : Data Types

Data Types

SAG supports only basic Data Types for SW/C Interface items and Inter-Runnable Variables. The supported Data Types are:

The types will be declared in the SWC description file (XML) according to the following rules:

In order to have more than one Data-Element using the same Data-Type, those Data-Elements must be typed using a Rational Statemate User-Defined-Type (UDT).
In order to use an externally defined type, AUTOSAR basic type or other, you can provide the full path to the external type, using the Design-Attribute AR Type Reference, available for Data-Items, Conditions, Events, and Subroutine-Parameters.
o Have no specific minimum or maximum values.
o Have the Design Attribute "C Data Type" set to a value.
o In order to map the value of C Data Type to an AUTOSAR type, it must be written within the body of one of the API's at the OS Definition Tool->API Definition->AUTOSAR Types API's.