Platform Types (Platform_Types)
Platform-specific fundamental data types (integers, booleans, floating-point numbers) mapped to CPU architecture primitives.
Typen — Übersicht
typedef booleanThis standard AUTOSAR type shall only be used together with the definitions TRUE and FALSE.typedef uint8This standard AUTOSAR type shall be of 8 bit unsigned.typedef uint16This standard AUTOSAR type shall be of 16 bit unsigned.typedef uint32This standard AUTOSAR type shall be 32 bit unsigned.typedef uint64This standard AUTOSAR type shall be 64 bit unsigned.typedef sint8This standard AUTOSAR type shall be of 8 bit signed.typedef sint16This standard AUTOSAR type shall be of 16 bit signed.typedef sint32This standard AUTOSAR type shall be 32 bit signed.typedef sint64This standard AUTOSAR type shall be 64 bit signed.typedef uint8_leastThis optimized AUTOSAR type shall be at least 8 bit unsigned.typedef uint16_leastThis optimized AUTOSAR type shall be at least 16 bit unsigned.typedef uint32_leastThis optimized AUTOSAR type shall be at least 32 bit unsigned.typedef sint8_leastThis optimized AUTOSAR type shall be at least 8 bit signed.typedef sint16_leastThis optimized AUTOSAR type shall be at least 16 bit signed.typedef sint32_leastThis optimized AUTOSAR type shall be at least 32 bit signed.typedef float32This standard AUTOSAR type shall follow the 32-bit binary interchange format according to IEEE 754-2008 with encoding...typedef float64This standard AUTOSAR type shall follow the 64-bit binary interchange format according to IEEE 754-2008 with encoding...typedef VoidPtrThis standard AUTOSAR type shall be a void pointer Note: This type shall be used for buffers that contain data returned to the...typedef ConstVoidPtrThis standard AUTOSAR type shall be a void pointer to const.CPU_TYPEThis symbol shall be defined as #define having one of the values CPU_TYPE_8, CPU_TYPE_16, CPU_TYPE_32 or CPU_TYPE_64 according...CPU_BIT_ORDERThis symbol shall be defined as #define having one of the values MSB_FIRST or LSB_FIRST according to the platform.CPU_BYTE_ORDERThis symbol shall be defined as #define having one of the values HIGH_BYTE_FIRST or LOW_ BYTE_FIRST according to the platform.TRUE_FALSEThe symbols TRUE and FALSE shall be defined as follows: #ifndef TRUE #define TRUE 1 #endif #ifndef FALSE #define FALSE 0 #endif
Typen — Detailansicht
타입 boolean [SWS_Platform_00026] 📄 PDF
typedef unsigned char boolean;
This standard AUTOSAR type shall only be used together with the definitions TRUE and FALSE.
타입 uint8 [SWS_Platform_00013] 📄 PDF
typedef unsigned char uint8;
This standard AUTOSAR type shall be of 8 bit unsigned.
타입 uint16 [SWS_Platform_00014] 📄 PDF
typedef unsigned short uint16;
This standard AUTOSAR type shall be of 16 bit unsigned.
타입 uint32 [SWS_Platform_00015] 📄 PDF
typedef unsigned long uint32;
This standard AUTOSAR type shall be 32 bit unsigned.
타입 uint64 [SWS_Platform_00066] 📄 PDF
typedef unsigned long long uint64;
This standard AUTOSAR type shall be 64 bit unsigned.
타입 sint8 [SWS_Platform_00016] 📄 PDF
typedef signed char sint8;
This standard AUTOSAR type shall be of 8 bit signed.
타입 sint16 [SWS_Platform_00017] 📄 PDF
typedef signed short sint16;
This standard AUTOSAR type shall be of 16 bit signed.
타입 sint32 [SWS_Platform_00018] 📄 PDF
typedef signed long sint32;
This standard AUTOSAR type shall be 32 bit signed.
타입 sint64 [SWS_Platform_00067] 📄 PDF
typedef signed long long sint64;
This standard AUTOSAR type shall be 64 bit signed.
타입 uint8_least [SWS_Platform_00020] 📄 PDF
typedef unsigned int uint8_least;
This optimized AUTOSAR type shall be at least 8 bit unsigned.
타입 uint16_least [SWS_Platform_00021] 📄 PDF
typedef unsigned int uint16_least;
This optimized AUTOSAR type shall be at least 16 bit unsigned.
타입 uint32_least [SWS_Platform_00022] 📄 PDF
typedef unsigned int uint32_least;
This optimized AUTOSAR type shall be at least 32 bit unsigned.
타입 sint8_least [SWS_Platform_00023] 📄 PDF
typedef signed int sint8_least;
This optimized AUTOSAR type shall be at least 8 bit signed.
타입 sint16_least [SWS_Platform_00024] 📄 PDF
typedef signed int sint16_least;
This optimized AUTOSAR type shall be at least 16 bit signed.
타입 sint32_least [SWS_Platform_00025] 📄 PDF
typedef signed int sint32_least;
This optimized AUTOSAR type shall be at least 32 bit signed.
타입 float32 [SWS_Platform_00041] 📄 PDF
typedef float float32;
This standard AUTOSAR type shall follow the 32-bit binary interchange format according to IEEE 754-2008 with encoding parameters specified in chapter 3.6, table 3.5, column "binary32".
타입 float64 [SWS_Platform_00042] 📄 PDF
typedef double float64;
This standard AUTOSAR type shall follow the 64-bit binary interchange format according to IEEE 754-2008 with encoding parameters specified in chapter 3.6, table 3.5, column "binary64".
타입 VoidPtr [SWS_Platform_91001] 📄 PDF
typedef void* VoidPtr;
This standard AUTOSAR type shall be a void pointer Note: This type shall be used for buffers that contain data returned to the caller.
타입 ConstVoidPtr [SWS_Platform_91002] 📄 PDF
typedef const void* ConstVoidPtr;
This standard AUTOSAR type shall be a void pointer to const. Note: This type shall be used for buffers that are passed to the callee.
타입 CPU_TYPE [SWS_Platform_00064] 📄 PDF
This symbol shall be defined as #define having one of the values CPU_TYPE_8, CPU_TYPE_16, CPU_TYPE_32 or CPU_TYPE_64 according to the platform.
타입 CPU_BIT_ORDER [SWS_Platform_00038] 📄 PDF
This symbol shall be defined as #define having one of the values MSB_FIRST or LSB_FIRST according to the platform.
타입 CPU_BYTE_ORDER [SWS_Platform_00039] 📄 PDF
This symbol shall be defined as #define having one of the values HIGH_BYTE_FIRST or LOW_ BYTE_FIRST according to the platform.
타입 TRUE_FALSE [SWS_Platform_00056] 📄 PDF
The symbols TRUE and FALSE shall be defined as follows: #ifndef TRUE #define TRUE 1 #endif #ifndef FALSE #define FALSE 0 #endif
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/CP_MOD_Platform- Status
- unspecified
- Version
AUTOSAR/AP/record/CP_MOD_Platform@rel:R20-11#69a4c828- Content hash
69a4c828- Source
- https://www.autosar.org/fileadmin/standards/R20-11/CP/AUTOSAR_SWS_PlatformTypes.pdf#nameddest=SWS_Platform_00026
gemini-3.8-flash-low· 2026-10-13 · 독일어 원문